0s autopkgtest [23:27:27]: starting date: 2024-03-11 0s autopkgtest [23:27:27]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [23:27:27]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.e_nid3a7/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:glib2.0,src:elfutils --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos03-arm64-15.secgroup --name adt-noble-arm64-glib2.0-20240311-232727-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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/ 67s autopkgtest [23:28:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 68s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 68s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 68s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [451 kB] 68s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.2 kB] 68s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2626 kB] 69s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [596 kB] 69s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 69s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 69s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 69s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [3013 kB] 69s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 69s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.1 kB] 69s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 70s Fetched 6916 kB in 2s (4276 kB/s) 71s Reading package lists... 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 74s Calculating upgrade... 75s The following packages will be REMOVED: 75s libglib2.0-0 75s The following NEW packages will be installed: 75s libglib2.0-0t64 xdg-user-dirs 75s The following packages will be upgraded: 75s gir1.2-glib-2.0 klibc-utils libglib2.0-data libklibc 75s 4 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 75s Need to get 1940 kB of archives. 75s After this operation, 138 kB of additional disk space will be used. 75s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 75s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 75s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 75s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 75s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 klibc-utils arm64 2.0.13-4 [114 kB] 75s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libklibc arm64 2.0.13-4 [51.4 kB] 76s Fetched 1940 kB in 1s (2871 kB/s) 76s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 76s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 76s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 76s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 76s udisks2 depends on libglib2.0-0 (>= 2.77.0). 76s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 76s python3-gi depends on libglib2.0-0 (>= 2.77.0). 76s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 76s netplan.io depends on libglib2.0-0 (>= 2.70.0). 76s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 76s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 76s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 76s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 76s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 76s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 76s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 76s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 76s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 76s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 76s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 76s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 76s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 76s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 76s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 76s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 76s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 76s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 76s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 76s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 76s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 76s fwupd depends on libglib2.0-0 (>= 2.79.0). 76s bolt depends on libglib2.0-0 (>= 2.56.0). 76s 76s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 76s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 76s Selecting previously unselected package libglib2.0-0t64:arm64. 76s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74723 files and directories currently installed.) 76s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 76s 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... 76s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 76s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 77s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 77s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 77s Selecting previously unselected package xdg-user-dirs. 77s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 77s Unpacking xdg-user-dirs (0.18-1) ... 77s Preparing to unpack .../klibc-utils_2.0.13-4_arm64.deb ... 77s Unpacking klibc-utils (2.0.13-4) over (2.0.13-2ubuntu1) ... 77s Preparing to unpack .../libklibc_2.0.13-4_arm64.deb ... 77s Unpacking libklibc:arm64 (2.0.13-4) over (2.0.13-2ubuntu1) ... 77s Setting up xdg-user-dirs (0.18-1) ... 77s Setting up libklibc:arm64 (2.0.13-4) ... 77s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 77s No schema files found: doing nothing. 77s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 77s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 77s Setting up klibc-utils (2.0.13-4) ... 77s Processing triggers for libc-bin (2.39-0ubuntu2) ... 77s Processing triggers for man-db (2.12.0-3) ... 78s Processing triggers for initramfs-tools (0.142ubuntu20) ... 78s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 78s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 94s System running in EFI mode, skipping. 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s sh: Attempting to set up Debian/Ubuntu apt sources automatically 96s sh: Distribution appears to be Ubuntu 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 98s eatmydata is already the newest version (131-1). 98s dbus is already the newest version (1.14.10-4ubuntu1). 98s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s Reading package lists... 98s Building dependency tree... 98s Reading state information... 99s rng-tools-debian is already the newest version (2.4). 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 100s haveged is already the newest version (1.9.14-1ubuntu1). 100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 100s The following packages will be REMOVED: 100s cloud-init* python3-configobj* python3-debconf* 101s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 101s After this operation, 3248 kB disk space will be freed. 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74762 files and directories currently installed.) 101s Removing cloud-init (24.1-0ubuntu1) ... 101s Removing python3-configobj (5.0.8-3) ... 102s Removing python3-debconf (1.5.86) ... 102s Processing triggers for man-db (2.12.0-3) ... 102s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74373 files and directories currently installed.) 102s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 103s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 103s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s linux-generic is already the newest version (6.8.0-11.11+1). 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 105s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 105s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 105s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 105s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 106s Reading package lists... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Calculating upgrade... 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s autopkgtest [23:29:16]: rebooting testbed after setup commands that affected boot 343s autopkgtest [23:33:10]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 343s autopkgtest [23:33:10]: testbed dpkg architecture: arm64 344s autopkgtest [23:33:11]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 351s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (dsc) [4537 B] 351s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [263 kB] 351s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [5507 kB] 351s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (diff) [129 kB] 352s gpgv: Signature made Mon Mar 11 01:27:21 2024 UTC 352s gpgv: using RSA key AC483F68DE728F43F2202FCA568D30F321B2133D 352s gpgv: issuer "steve.langasek@ubuntu.com" 352s gpgv: Can't check signature: No public key 352s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu5.dsc: no acceptable signature found 353s autopkgtest [23:33:20]: testing package glib2.0 version 2.79.3-3ubuntu5 353s autopkgtest [23:33:20]: build not needed 357s autopkgtest [23:33:24]: test build: preparing testbed 361s Reading package lists... 361s Building dependency tree... 361s Reading state information... 361s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 362s Starting 2 pkgProblemResolver with broken count: 0 362s Done 362s Done 362s Starting pkgProblemResolver with broken count: 0 362s Starting 2 pkgProblemResolver with broken count: 0 362s Done 363s The following additional packages will be installed: 363s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 363s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 363s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 363s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 363s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 363s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 363s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 363s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 363s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 363s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 363s Suggested packages: 363s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 363s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 363s glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 363s libxml2-utils libstdc++-13-doc 363s Recommended packages: 363s manpages manpages-dev libc-devtools 363s The following packages will be REMOVED: 363s libelf1 363s The following NEW packages will be installed: 363s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 363s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 363s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 363s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 363s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 363s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 363s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 363s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 363s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 363s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 364s 0 upgraded, 53 newly installed, 1 to remove and 0 not upgraded. 364s 1 not fully installed or removed. 364s Need to get 67.0 MB of archives. 364s After this operation, 244 MB of additional disk space will be used. 364s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 364s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build1 [57.9 kB] 364s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu5 [97.1 kB] 364s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 364s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu5 [71.5 kB] 364s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu5 [215 kB] 364s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 364s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 364s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 364s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 364s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 364s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 364s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 364s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 364s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 364s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 364s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 364s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 364s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 364s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 364s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 364s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 364s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 364s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 364s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 364s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 364s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev arm64 2.79.3-3ubuntu5 [1885 kB] 364s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 364s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 364s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 365s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 365s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 365s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 365s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 365s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 365s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 365s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 365s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 365s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 365s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 365s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 365s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 365s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 365s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 366s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 366s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 366s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 366s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 366s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 367s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 367s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 367s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 367s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 368s Fetched 67.0 MB in 4s (19.0 MB/s) 368s Selecting previously unselected package libffi-dev:arm64. 368s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74318 files and directories currently installed.) 368s Preparing to unpack .../libffi-dev_3.4.6-1_arm64.deb ... 368s Unpacking libffi-dev:arm64 (3.4.6-1) ... 368s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 368s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 368s libbpf1:arm64 depends on libelf1 (>= 0.144). 368s iproute2 depends on libelf1 (>= 0.131). 368s 368s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74355 files and directories currently installed.) 368s Removing libelf1:arm64 (0.190-1) ... 368s Selecting previously unselected package libelf1t64:arm64. 368s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74350 files and directories currently installed.) 368s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_arm64.deb ... 368s Unpacking libelf1t64:arm64 (0.190-1.1build1) ... 368s Selecting previously unselected package libglib2.0-bin. 369s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu5_arm64.deb ... 369s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 369s Selecting previously unselected package python3-packaging. 369s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 369s Unpacking python3-packaging (23.2-1) ... 370s Selecting previously unselected package libgirepository-2.0-0:arm64. 370s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu5_arm64.deb ... 370s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 370s Selecting previously unselected package libglib2.0-dev-bin. 370s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu5_arm64.deb ... 370s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 370s Selecting previously unselected package libc-dev-bin. 370s Preparing to unpack .../05-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 370s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 370s Selecting previously unselected package linux-libc-dev:arm64. 370s Preparing to unpack .../06-linux-libc-dev_6.8.0-11.11_arm64.deb ... 370s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 370s Selecting previously unselected package libcrypt-dev:arm64. 370s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 370s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 370s Selecting previously unselected package libtirpc-dev:arm64. 370s Preparing to unpack .../08-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 370s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 370s Selecting previously unselected package libnsl-dev:arm64. 370s Preparing to unpack .../09-libnsl-dev_1.3.0-3_arm64.deb ... 370s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 370s Selecting previously unselected package rpcsvc-proto. 370s Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 370s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 370s Selecting previously unselected package libc6-dev:arm64. 370s Preparing to unpack .../11-libc6-dev_2.39-0ubuntu2_arm64.deb ... 370s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 371s Selecting previously unselected package uuid-dev:arm64. 371s Preparing to unpack .../12-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 371s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 371s Selecting previously unselected package libblkid-dev:arm64. 371s Preparing to unpack .../13-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 371s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 371s Selecting previously unselected package libsepol-dev:arm64. 371s Preparing to unpack .../14-libsepol-dev_3.5-2_arm64.deb ... 371s Unpacking libsepol-dev:arm64 (3.5-2) ... 371s Selecting previously unselected package libpcre2-16-0:arm64. 371s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 371s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 371s Selecting previously unselected package libpcre2-32-0:arm64. 371s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 371s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 371s Selecting previously unselected package libpcre2-posix3:arm64. 371s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 371s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 371s Selecting previously unselected package libpcre2-dev:arm64. 371s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 371s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 371s Selecting previously unselected package libselinux1-dev:arm64. 371s Preparing to unpack .../19-libselinux1-dev_3.5-2build1_arm64.deb ... 371s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 371s Selecting previously unselected package libmount-dev:arm64. 371s Preparing to unpack .../20-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 371s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 371s Selecting previously unselected package libpkgconf3:arm64. 371s Preparing to unpack .../21-libpkgconf3_1.8.1-2_arm64.deb ... 371s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 371s Selecting previously unselected package pkgconf-bin. 371s Preparing to unpack .../22-pkgconf-bin_1.8.1-2_arm64.deb ... 371s Unpacking pkgconf-bin (1.8.1-2) ... 371s Selecting previously unselected package pkgconf:arm64. 371s Preparing to unpack .../23-pkgconf_1.8.1-2_arm64.deb ... 371s Unpacking pkgconf:arm64 (1.8.1-2) ... 371s Selecting previously unselected package zlib1g-dev:arm64. 371s Preparing to unpack .../24-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 371s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 371s Selecting previously unselected package libglib2.0-dev:arm64. 371s Preparing to unpack .../25-libglib2.0-dev_2.79.3-3ubuntu5_arm64.deb ... 371s Unpacking libglib2.0-dev:arm64 (2.79.3-3ubuntu5) ... 371s Selecting previously unselected package libisl23:arm64. 371s Preparing to unpack .../26-libisl23_0.26-3_arm64.deb ... 371s Unpacking libisl23:arm64 (0.26-3) ... 372s Selecting previously unselected package libmpc3:arm64. 372s Preparing to unpack .../27-libmpc3_1.3.1-1_arm64.deb ... 372s Unpacking libmpc3:arm64 (1.3.1-1) ... 372s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 372s Preparing to unpack .../28-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 372s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 372s Selecting previously unselected package cpp-13. 372s Preparing to unpack .../29-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 372s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 372s Selecting previously unselected package cpp-aarch64-linux-gnu. 372s Preparing to unpack .../30-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 372s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 372s Selecting previously unselected package cpp. 372s Preparing to unpack .../31-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 372s Unpacking cpp (4:13.2.0-7ubuntu1) ... 372s Selecting previously unselected package libcc1-0:arm64. 372s Preparing to unpack .../32-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 372s Selecting previously unselected package libgomp1:arm64. 372s Preparing to unpack .../33-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 372s Selecting previously unselected package libitm1:arm64. 372s Preparing to unpack .../34-libitm1_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 372s Selecting previously unselected package libatomic1:arm64. 372s Preparing to unpack .../35-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 372s Selecting previously unselected package libasan8:arm64. 372s Preparing to unpack .../36-libasan8_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 372s Selecting previously unselected package liblsan0:arm64. 372s Preparing to unpack .../37-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 372s Selecting previously unselected package libtsan2:arm64. 372s Preparing to unpack .../38-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 372s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 373s Selecting previously unselected package libubsan1:arm64. 373s Preparing to unpack .../39-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 373s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 373s Selecting previously unselected package libhwasan0:arm64. 373s Preparing to unpack .../40-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 373s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 373s Selecting previously unselected package libgcc-13-dev:arm64. 373s Preparing to unpack .../41-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 373s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 373s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 373s Preparing to unpack .../42-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 373s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 373s Selecting previously unselected package gcc-13. 373s Preparing to unpack .../43-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 373s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 373s Selecting previously unselected package gcc-aarch64-linux-gnu. 373s Preparing to unpack .../44-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 373s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 373s Selecting previously unselected package gcc. 373s Preparing to unpack .../45-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 373s Unpacking gcc (4:13.2.0-7ubuntu1) ... 373s Selecting previously unselected package libstdc++-13-dev:arm64. 373s Preparing to unpack .../46-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 373s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 374s Selecting previously unselected package g++-13-aarch64-linux-gnu. 374s Preparing to unpack .../47-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 374s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 374s Selecting previously unselected package g++-13. 374s Preparing to unpack .../48-g++-13_13.2.0-17ubuntu2_arm64.deb ... 374s Unpacking g++-13 (13.2.0-17ubuntu2) ... 374s Selecting previously unselected package g++-aarch64-linux-gnu. 374s Preparing to unpack .../49-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 374s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 374s Selecting previously unselected package g++. 374s Preparing to unpack .../50-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 374s Unpacking g++ (4:13.2.0-7ubuntu1) ... 374s Selecting previously unselected package build-essential. 374s Preparing to unpack .../51-build-essential_12.10ubuntu1_arm64.deb ... 374s Unpacking build-essential (12.10ubuntu1) ... 374s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 374s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 374s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libffi-dev:arm64 (3.4.6-1) ... 374s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 374s Setting up libelf1t64:arm64 (0.190-1.1build1) ... 374s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 374s Setting up python3-packaging (23.2-1) ... 374s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 374s Setting up libpkgconf3:arm64 (1.8.1-2) ... 374s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 374s Setting up libmpc3:arm64 (1.3.1-1) ... 374s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libsepol-dev:arm64 (3.5-2) ... 374s Setting up pkgconf-bin (1.8.1-2) ... 374s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 374s Setting up libnsl-dev:arm64 (1.3.0-3) ... 374s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 374s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libisl23:arm64 (0.26-3) ... 374s Setting up libc-dev-bin (2.39-0ubuntu2) ... 374s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 374s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 374s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 375s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 375s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 375s Setting up pkgconf:arm64 (1.8.1-2) ... 375s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 375s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 375s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 375s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 375s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 375s Setting up cpp-13 (13.2.0-17ubuntu2) ... 375s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 375s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 375s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 375s Setting up gcc-13 (13.2.0-17ubuntu2) ... 375s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 375s Setting up cpp (4:13.2.0-7ubuntu1) ... 375s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 375s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 375s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 375s Setting up g++-13 (13.2.0-17ubuntu2) ... 375s Setting up gcc (4:13.2.0-7ubuntu1) ... 375s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 375s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 375s Setting up libglib2.0-dev:arm64 (2.79.3-3ubuntu5) ... 375s Setting up g++ (4:13.2.0-7ubuntu1) ... 375s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 375s Setting up build-essential (12.10ubuntu1) ... 375s Processing triggers for libc-bin (2.39-0ubuntu2) ... 375s Processing triggers for man-db (2.12.0-3) ... 376s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 376s No schema files found: doing nothing. 376s Processing triggers for install-info (7.1-3) ... 376s Setting up autopkgtest-satdep (0) ... 380s (Reading database ... 78112 files and directories currently installed.) 380s Removing autopkgtest-satdep (0) ... 381s autopkgtest [23:33:48]: test build: [----------------------- 381s + mode=dynamic 381s + getopt -o --long static -n debian/tests/build -- 381s + getopt_temp= -- 381s + eval set -- -- 381s + set -- -- 381s + true 381s + shift 381s + break 381s + mktemp -d 381s + WORKDIR=/tmp/tmp.jvjwRJGdCY 381s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 381s + cd /tmp/tmp.jvjwRJGdCY 381s + [ -n ] 381s + CROSS_COMPILE= 381s + cat 381s + cat 381s + cat 381s + cat 381s + cat 381s + cat 381s + cflags= 381s + pcflags= 381s + packages=glib-2.0 381s + pkg-config --cflags --libs glib-2.0 381s + 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 382s build (glib, dynamic): OK 382s + echo build (glib, dynamic): OK 382s + [ -x glib-dynamic ] 382s + foo=bar ./glib-dynamic 382s run (glib, dynamic): OK 382s + echo run (glib, dynamic): OK 382s + cflags= 382s + pcflags= 382s + packages=gobject-2.0 382s + pkg-config --cflags --libs gobject-2.0 382s + 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 382s build (gobject, dynamic): OK 382s + echo build (gobject, dynamic): OK 382s + [ -x gobject-dynamic ] 382s + foo=bar ./gobject-dynamic 382s run (gobject, dynamic): OK 382s + echo run (gobject, dynamic): OK 382s + cflags= 382s + pcflags= 382s + packages=gio-2.0 382s + pkg-config --cflags --libs gio-2.0 382s + 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 382s build (gio, dynamic): OK 382s + echo build (gio, dynamic): OK 382s + [ -x gio-dynamic ] 382s + foo=bar ./gio-dynamic 382s run (gio, dynamic): OK 382s + echo run (gio, dynamic): OK 382s + cflags= 382s + pcflags= 382s + packages=gio-unix-2.0 382s + pkg-config --cflags --libs gio-unix-2.0 382s + 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 383s build (gio-unix, dynamic): OK 383s + echo build (gio-unix, dynamic): OK 383s + [ -x gio-unix-dynamic ] 383s + foo=bar ./gio-unix-dynamic 383s run (gio-unix, dynamic): OK 383s + echo run (gio-unix, dynamic): OK 383s + cflags= 383s + pcflags= 383s + packages=gmodule-2.0 383s + pkg-config --cflags --libs gmodule-2.0 383s + 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 383s + echo build (gmodule, dynamic): OK 383s + [ -x gmodule-dynamic ] 383s + foo=bar ./gmodule-dynamic 383s build (gmodule, dynamic): OK 383s run (gmodule, dynamic): OK 383s + echo run (gmodule, dynamic): OK 383s + cflags= 383s + pcflags= 383s + packages=gthread-2.0 383s + pkg-config --cflags --libs gthread-2.0 383s + 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 383s build (gthread, dynamic): OK 383s + echo build (gthread, dynamic): OK 383s + [ -x gthread-dynamic ] 383s + foo=bar ./gthread-dynamic 383s + echo run (gthread, dynamic): OK 383s + rm -rf /tmp/tmp.jvjwRJGdCY 383s run (gthread, dynamic): OK 383s autopkgtest [23:33:50]: test build: -----------------------] 384s autopkgtest [23:33:51]: test build: - - - - - - - - - - results - - - - - - - - - - 384s build PASS (superficial) 384s autopkgtest [23:33:51]: test build-static: preparing testbed 388s Reading package lists... 388s Building dependency tree... 388s Reading state information... 389s Starting pkgProblemResolver with broken count: 0 389s Starting 2 pkgProblemResolver with broken count: 0 389s Done 391s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 391s 1 not fully installed or removed. 391s After this operation, 0 B of additional disk space will be used. 391s Setting up autopkgtest-satdep (0) ... 396s (Reading database ... 78112 files and directories currently installed.) 396s Removing autopkgtest-satdep (0) ... 397s autopkgtest [23:34:04]: test build-static: [----------------------- 397s + mode=dynamic 397s + getopt -o --long static -n debian/tests/build -- --static 397s + getopt_temp= --static -- 397s + eval set -- --static -- 397s + set -- --static -- 397s + true 397s + mode=static 397s + shift 397s + continue 397s + true 397s + shift 397s + break 397s + mktemp -d 397s + WORKDIR=/tmp/tmp.RjqOR1EKtN 397s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 397s + cd /tmp/tmp.RjqOR1EKtN 397s + [ -n ] 397s + CROSS_COMPILE= 397s + cat 397s + cat 397s + cat 397s + cat 397s + cat 397s + cat 397s + cflags= 397s + pcflags= 397s + packages=glib-2.0 397s + cflags=-static 397s + pcflags=--static 397s + pkg-config --static --cflags --libs glib-2.0 397s + 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 398s /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': 398s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /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 398s /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 398s + echo build (glib, static): OK 398s build (glib, static): OK 398s + [ -x glib-static ] 398s + foo=bar ./glib-static 398s + echo run (glib, static): OK 398s + run (glib, static): OK 398s cflags= 398s + pcflags= 398s + packages=gobject-2.0 398s + cflags=-static 398s + pcflags=--static 398s + pkg-config --static --cflags --libs gobject-2.0 398s + 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 398s /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': 398s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /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 398s /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 398s build (gobject, static): OK 398s + echo build (gobject, static): OK 398s + [ -x gobject-static ] 398s + foo=bar ./gobject-static 398s run (gobject, static): OK 398s + echo run (gobject, static): OK 398s + cflags= 398s + pcflags= 398s + packages=gio-2.0 398s + cflags=-static 398s + pcflags=--static 398s + continue 398s + cflags= 398s + pcflags= 398s + packages=gio-unix-2.0 398s + cflags=-static 398s + pcflags=--static 398s + continue 398s + cflags= 398s + pcflags= 398s + packages=gmodule-2.0 398s + cflags=-static 398s + pcflags=--static 398s + pkg-config --static --cflags --libs gmodule-2.0 399s + 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 399s /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': 399s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 399s /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': 399s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 399s /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 399s /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 399s build (gmodule, static): OK 399s + echo build (gmodule, static): OK 399s + [ -x gmodule-static ] 399s + foo=bar ./gmodule-static 399s run (gmodule, static): OK 399s + echo run (gmodule, static): OK 399s + cflags= 399s + pcflags= 399s + packages=gthread-2.0 399s + cflags=-static 399s + pcflags=--static 399s + pkg-config --static --cflags --libs gthread-2.0 399s + 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 399s /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': 399s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 399s /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 399s /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 399s + echo build (gthread, static): OK 399s + [ -x gthread-static ] 399s + foo=bar ./gthread-static 399s build (gthread, static): OK 399s run (gthread, static): OK 399s + echo run (gthread, static): OK 399s + rm -rf /tmp/tmp.RjqOR1EKtN 399s autopkgtest [23:34:06]: test build-static: -----------------------] 400s autopkgtest [23:34:07]: test build-static: - - - - - - - - - - results - - - - - - - - - - 400s build-static PASS (superficial) 400s autopkgtest [23:34:07]: test installed-tests: preparing testbed 487s autopkgtest [23:35:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 487s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 488s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [451 kB] 488s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.2 kB] 488s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 488s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2626 kB] 488s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [596 kB] 488s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 488s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 488s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 488s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [3013 kB] 488s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 488s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.1 kB] 488s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 490s Fetched 6916 kB in 1s (4861 kB/s) 490s Reading package lists... 492s Reading package lists... 492s Building dependency tree... 492s Reading state information... 493s Calculating upgrade... 493s The following packages will be REMOVED: 493s libglib2.0-0 493s The following NEW packages will be installed: 493s libglib2.0-0t64 xdg-user-dirs 493s The following packages will be upgraded: 493s gir1.2-glib-2.0 klibc-utils libglib2.0-data libklibc 494s 4 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 494s Need to get 1940 kB of archives. 494s After this operation, 138 kB of additional disk space will be used. 494s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 494s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 494s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 494s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 494s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 klibc-utils arm64 2.0.13-4 [114 kB] 494s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libklibc arm64 2.0.13-4 [51.4 kB] 495s Fetched 1940 kB in 1s (2373 kB/s) 495s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 495s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 495s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 495s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 495s udisks2 depends on libglib2.0-0 (>= 2.77.0). 495s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 495s python3-gi depends on libglib2.0-0 (>= 2.77.0). 495s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 495s netplan.io depends on libglib2.0-0 (>= 2.70.0). 495s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 495s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 495s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 495s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 495s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 495s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 495s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 495s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 495s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 495s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 495s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 495s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 495s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 495s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 495s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 495s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 495s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 495s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 495s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 495s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 495s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 495s fwupd depends on libglib2.0-0 (>= 2.79.0). 495s bolt depends on libglib2.0-0 (>= 2.56.0). 495s 495s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 495s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 495s Selecting previously unselected package libglib2.0-0t64:arm64. 495s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74723 files and directories currently installed.) 495s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 495s 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... 495s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 495s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 495s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 495s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 495s Selecting previously unselected package xdg-user-dirs. 496s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 496s Unpacking xdg-user-dirs (0.18-1) ... 496s Preparing to unpack .../klibc-utils_2.0.13-4_arm64.deb ... 496s Unpacking klibc-utils (2.0.13-4) over (2.0.13-2ubuntu1) ... 496s Preparing to unpack .../libklibc_2.0.13-4_arm64.deb ... 496s Unpacking libklibc:arm64 (2.0.13-4) over (2.0.13-2ubuntu1) ... 496s Setting up xdg-user-dirs (0.18-1) ... 496s Setting up libklibc:arm64 (2.0.13-4) ... 496s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 496s No schema files found: doing nothing. 496s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 496s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 496s Setting up klibc-utils (2.0.13-4) ... 496s Processing triggers for libc-bin (2.39-0ubuntu2) ... 496s Processing triggers for man-db (2.12.0-3) ... 497s Processing triggers for initramfs-tools (0.142ubuntu20) ... 497s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 497s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 516s System running in EFI mode, skipping. 516s Reading package lists... 516s Building dependency tree... 516s Reading state information... 517s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 518s sh: Attempting to set up Debian/Ubuntu apt sources automatically 518s sh: Distribution appears to be Ubuntu 519s Reading package lists... 519s Building dependency tree... 519s Reading state information... 520s eatmydata is already the newest version (131-1). 520s dbus is already the newest version (1.14.10-4ubuntu1). 520s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 520s Reading package lists... 520s Building dependency tree... 520s Reading state information... 520s rng-tools-debian is already the newest version (2.4). 520s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 520s Reading package lists... 521s Building dependency tree... 521s Reading state information... 521s haveged is already the newest version (1.9.14-1ubuntu1). 521s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 521s Reading package lists... 522s Building dependency tree... 522s Reading state information... 522s The following packages will be REMOVED: 522s cloud-init* python3-configobj* python3-debconf* 522s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 522s After this operation, 3248 kB disk space will be freed. 522s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74762 files and directories currently installed.) 522s Removing cloud-init (24.1-0ubuntu1) ... 523s Removing python3-configobj (5.0.8-3) ... 523s Removing python3-debconf (1.5.86) ... 523s Processing triggers for man-db (2.12.0-3) ... 524s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74373 files and directories currently installed.) 524s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 524s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 524s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 525s Reading package lists... 525s Building dependency tree... 525s Reading state information... 526s linux-generic is already the newest version (6.8.0-11.11+1). 526s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 526s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 526s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 526s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 526s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 528s Reading package lists... 528s Reading package lists... 528s Building dependency tree... 528s Reading state information... 529s Calculating upgrade... 529s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 529s Reading package lists... 529s Building dependency tree... 529s Reading state information... 530s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 531s autopkgtest [23:36:18]: rebooting testbed after setup commands that affected boot 761s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 768s autopkgtest [23:40:15]: testbed dpkg architecture: arm64 772s Reading package lists... 772s Building dependency tree... 772s Reading state information... 773s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 773s Starting 2 pkgProblemResolver with broken count: 0 773s Done 773s Done 774s Starting pkgProblemResolver with broken count: 0 774s Starting 2 pkgProblemResolver with broken count: 0 774s Done 774s The following additional packages will be installed: 774s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 774s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 774s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 774s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 774s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 774s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 774s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 774s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 774s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 774s Suggested packages: 774s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 774s Recommended packages: 774s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 774s xfonts-base 774s The following packages will be REMOVED: 774s libelf1 774s The following NEW packages will be installed: 774s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 774s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 774s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 774s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 774s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 774s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 774s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 774s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 774s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 775s 0 upgraded, 50 newly installed, 1 to remove and 0 not upgraded. 775s 1 not fully installed or removed. 775s Need to get 38.8 MB of archives. 775s After this operation, 194 MB of additional disk space will be used. 775s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 dbus-x11 arm64 1.14.10-4ubuntu1 [23.2 kB] 775s Get:2 http://ftpmaster.internal/ubuntu noble/universe arm64 gnome-desktop-testing arm64 2021.1-3 [15.7 kB] 775s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 desktop-file-utils arm64 0.26-1ubuntu5 [53.5 kB] 775s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build1 [57.9 kB] 775s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu5 [97.1 kB] 775s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 775s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu5 [71.5 kB] 775s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu5 [215 kB] 775s Get:9 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 775s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libglib2.0-tests arm64 2.79.3-3ubuntu5 [2059 kB] 775s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 775s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 775s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 775s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 775s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] 775s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libxpm4 arm64 1:3.5.17-1 [34.5 kB] 775s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] 775s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 775s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 775s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 775s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 x11-xkb-utils arm64 7.7+8 [165 kB] 775s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 775s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 775s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 775s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 775s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 775s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 775s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 775s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 775s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 775s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 775s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 775s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 775s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 775s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 775s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 775s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 775s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 776s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 776s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 776s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 776s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 776s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 776s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 776s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 776s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 776s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 776s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.4-1build3 [14.1 kB] 776s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 776s Get:50 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 778s Fetched 38.8 MB in 2s (19.4 MB/s) 778s Selecting previously unselected package dbus-x11. 778s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74318 files and directories currently installed.) 778s Preparing to unpack .../dbus-x11_1.14.10-4ubuntu1_arm64.deb ... 778s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 778s Selecting previously unselected package gnome-desktop-testing. 778s Preparing to unpack .../gnome-desktop-testing_2021.1-3_arm64.deb ... 778s Unpacking gnome-desktop-testing (2021.1-3) ... 778s Selecting previously unselected package desktop-file-utils. 778s Preparing to unpack .../desktop-file-utils_0.26-1ubuntu5_arm64.deb ... 778s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 778s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 778s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 778s libbpf1:arm64 depends on libelf1 (>= 0.144). 778s iproute2 depends on libelf1 (>= 0.131). 778s 778s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74356 files and directories currently installed.) 778s Removing libelf1:arm64 (0.190-1) ... 778s Selecting previously unselected package libelf1t64:arm64. 778s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74351 files and directories currently installed.) 778s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_arm64.deb ... 778s Unpacking libelf1t64:arm64 (0.190-1.1build1) ... 778s Selecting previously unselected package libglib2.0-bin. 778s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu5_arm64.deb ... 778s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 778s Selecting previously unselected package python3-packaging. 778s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 778s Unpacking python3-packaging (23.2-1) ... 778s Selecting previously unselected package libgirepository-2.0-0:arm64. 779s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu5_arm64.deb ... 779s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 779s Selecting previously unselected package libglib2.0-dev-bin. 779s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu5_arm64.deb ... 779s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 779s Selecting previously unselected package python3-dbusmock. 779s Preparing to unpack .../05-python3-dbusmock_0.31.1-1_all.deb ... 779s Unpacking python3-dbusmock (0.31.1-1) ... 779s Selecting previously unselected package libglib2.0-tests. 779s Preparing to unpack .../06-libglib2.0-tests_2.79.3-3ubuntu5_arm64.deb ... 779s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 779s Selecting previously unselected package x11-common. 779s Preparing to unpack .../07-x11-common_1%3a7.7+23ubuntu2_all.deb ... 779s Unpacking x11-common (1:7.7+23ubuntu2) ... 779s Selecting previously unselected package libice6:arm64. 779s Preparing to unpack .../08-libice6_2%3a1.0.10-1build2_arm64.deb ... 779s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 779s Selecting previously unselected package libsm6:arm64. 779s Preparing to unpack .../09-libsm6_2%3a1.2.3-1build2_arm64.deb ... 779s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 779s Selecting previously unselected package libxt6:arm64. 779s Preparing to unpack .../10-libxt6_1%3a1.2.1-1.1_arm64.deb ... 779s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 779s Selecting previously unselected package libxmu6:arm64. 779s Preparing to unpack .../11-libxmu6_2%3a1.1.3-3_arm64.deb ... 779s Unpacking libxmu6:arm64 (2:1.1.3-3) ... 779s Selecting previously unselected package libxpm4:arm64. 779s Preparing to unpack .../12-libxpm4_1%3a3.5.17-1_arm64.deb ... 779s Unpacking libxpm4:arm64 (1:3.5.17-1) ... 779s Selecting previously unselected package libxaw7:arm64. 779s Preparing to unpack .../13-libxaw7_2%3a1.0.14-1_arm64.deb ... 779s Unpacking libxaw7:arm64 (2:1.0.14-1) ... 779s Selecting previously unselected package libxkbfile1:arm64. 779s Preparing to unpack .../14-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 779s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 779s Selecting previously unselected package libxrender1:arm64. 780s Preparing to unpack .../15-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 780s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 780s Selecting previously unselected package libxrandr2:arm64. 780s Preparing to unpack .../16-libxrandr2_2%3a1.5.2-2_arm64.deb ... 780s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 780s Selecting previously unselected package x11-xkb-utils. 780s Preparing to unpack .../17-x11-xkb-utils_7.7+8_arm64.deb ... 780s Unpacking x11-xkb-utils (7.7+8) ... 780s Selecting previously unselected package xserver-common. 780s Preparing to unpack .../18-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 780s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 780s Selecting previously unselected package libglvnd0:arm64. 780s Preparing to unpack .../19-libglvnd0_1.7.0-1_arm64.deb ... 780s Unpacking libglvnd0:arm64 (1.7.0-1) ... 780s Selecting previously unselected package libglapi-mesa:arm64. 780s Preparing to unpack .../20-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 780s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 780s Selecting previously unselected package libx11-xcb1:arm64. 780s Preparing to unpack .../21-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 780s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 780s Selecting previously unselected package libxcb-dri2-0:arm64. 780s Preparing to unpack .../22-libxcb-dri2-0_1.15-1_arm64.deb ... 780s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 780s Selecting previously unselected package libxcb-dri3-0:arm64. 780s Preparing to unpack .../23-libxcb-dri3-0_1.15-1_arm64.deb ... 780s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 780s Selecting previously unselected package libxcb-glx0:arm64. 780s Preparing to unpack .../24-libxcb-glx0_1.15-1_arm64.deb ... 780s Unpacking libxcb-glx0:arm64 (1.15-1) ... 780s Selecting previously unselected package libxcb-present0:arm64. 780s Preparing to unpack .../25-libxcb-present0_1.15-1_arm64.deb ... 780s Unpacking libxcb-present0:arm64 (1.15-1) ... 780s Selecting previously unselected package libxcb-randr0:arm64. 781s Preparing to unpack .../26-libxcb-randr0_1.15-1_arm64.deb ... 781s Unpacking libxcb-randr0:arm64 (1.15-1) ... 781s Selecting previously unselected package libxcb-shm0:arm64. 781s Preparing to unpack .../27-libxcb-shm0_1.15-1_arm64.deb ... 781s Unpacking libxcb-shm0:arm64 (1.15-1) ... 781s Selecting previously unselected package libxcb-sync1:arm64. 781s Preparing to unpack .../28-libxcb-sync1_1.15-1_arm64.deb ... 781s Unpacking libxcb-sync1:arm64 (1.15-1) ... 781s Selecting previously unselected package libxcb-xfixes0:arm64. 781s Preparing to unpack .../29-libxcb-xfixes0_1.15-1_arm64.deb ... 781s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 781s Selecting previously unselected package libxfixes3:arm64. 781s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2_arm64.deb ... 781s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 781s Selecting previously unselected package libxshmfence1:arm64. 781s Preparing to unpack .../31-libxshmfence1_1.3-1build4_arm64.deb ... 781s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 781s Selecting previously unselected package libxxf86vm1:arm64. 782s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 782s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 782s Selecting previously unselected package libvulkan1:arm64. 782s Preparing to unpack .../33-libvulkan1_1.3.275.0-1_arm64.deb ... 782s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 782s Selecting previously unselected package libdrm-amdgpu1:arm64. 782s Preparing to unpack .../34-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 782s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 782s Selecting previously unselected package libdrm-nouveau2:arm64. 783s Preparing to unpack .../35-libdrm-nouveau2_2.4.120-2_arm64.deb ... 783s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 783s Selecting previously unselected package libdrm-radeon1:arm64. 783s Preparing to unpack .../36-libdrm-radeon1_2.4.120-2_arm64.deb ... 783s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 783s Selecting previously unselected package libllvm17:arm64. 783s Preparing to unpack .../37-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 783s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 783s Selecting previously unselected package libgl1-mesa-dri:arm64. 784s Preparing to unpack .../38-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 784s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 784s Selecting previously unselected package libglx-mesa0:arm64. 784s Preparing to unpack .../39-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 784s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 784s Selecting previously unselected package libglx0:arm64. 784s Preparing to unpack .../40-libglx0_1.7.0-1_arm64.deb ... 784s Unpacking libglx0:arm64 (1.7.0-1) ... 784s Selecting previously unselected package libgl1:arm64. 784s Preparing to unpack .../41-libgl1_1.7.0-1_arm64.deb ... 784s Unpacking libgl1:arm64 (1.7.0-1) ... 784s Selecting previously unselected package libpixman-1-0:arm64. 784s Preparing to unpack .../42-libpixman-1-0_0.42.2-1_arm64.deb ... 784s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 784s Selecting previously unselected package libunwind8:arm64. 784s Preparing to unpack .../43-libunwind8_1.6.2-3_arm64.deb ... 784s Unpacking libunwind8:arm64 (1.6.2-3) ... 784s Selecting previously unselected package libfontenc1:arm64. 784s Preparing to unpack .../44-libfontenc1_1%3a1.1.4-1build3_arm64.deb ... 784s Unpacking libfontenc1:arm64 (1:1.1.4-1build3) ... 784s Selecting previously unselected package libxfont2:arm64. 784s Preparing to unpack .../45-libxfont2_1%3a2.0.6-1_arm64.deb ... 784s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 784s Selecting previously unselected package xvfb. 784s Preparing to unpack .../46-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 784s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 784s Setting up gnome-desktop-testing (2021.1-3) ... 784s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 784s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 784s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 784s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 784s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 784s Setting up desktop-file-utils (0.26-1ubuntu5) ... 784s Setting up libxpm4:arm64 (1:3.5.17-1) ... 784s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 784s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 784s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 784s Setting up libglvnd0:arm64 (1.7.0-1) ... 784s Setting up libxcb-glx0:arm64 (1.15-1) ... 784s Setting up x11-common (1:7.7+23ubuntu2) ... 786s Setting up libxcb-shm0:arm64 (1.15-1) ... 786s Setting up libunwind8:arm64 (1.6.2-3) ... 786s Setting up libelf1t64:arm64 (0.190-1.1build1) ... 786s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 786s Setting up libxcb-present0:arm64 (1.15-1) ... 786s Setting up libfontenc1:arm64 (1:1.1.4-1build3) ... 786s Setting up python3-packaging (23.2-1) ... 786s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 786s Setting up libxcb-sync1:arm64 (1.15-1) ... 786s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 786s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 786s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 786s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 786s Setting up libxshmfence1:arm64 (1.3-1build4) ... 786s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 786s Setting up libxcb-randr0:arm64 (1.15-1) ... 786s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 786s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 786s Setting up libxfont2:arm64 (1:2.0.6-1) ... 786s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 786s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 786s Setting up libice6:arm64 (2:1.0.10-1build2) ... 786s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 786s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 786s Setting up python3-dbusmock (0.31.1-1) ... 787s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 787s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 787s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 787s Setting up libglx0:arm64 (1.7.0-1) ... 787s Setting up libgl1:arm64 (1.7.0-1) ... 787s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 787s Setting up libxmu6:arm64 (2:1.1.3-3) ... 787s Setting up libxaw7:arm64 (2:1.0.14-1) ... 787s Setting up x11-xkb-utils (7.7+8) ... 787s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 787s Setting up xvfb (2:21.1.11-2ubuntu1) ... 787s Setting up autopkgtest-satdep (0) ... 787s Processing triggers for man-db (2.12.0-3) ... 789s Processing triggers for libc-bin (2.39-0ubuntu2) ... 795s (Reading database ... 75806 files and directories currently installed.) 795s Removing autopkgtest-satdep (0) ... 801s autopkgtest [23:40:48]: test installed-tests: [----------------------- 801s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),108(lxd) 801s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 801s group entry: ubuntu:x:1000: 801s Environment: 801s ADTTMP=/tmp/autopkgtest.l82zvF/autopkgtest_tmp 801s ADT_ARTIFACTS=/tmp/autopkgtest.l82zvF/installed-tests-artifacts 801s ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 801s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.l82zvF/installed-tests-artifacts 801s AUTOPKGTEST_TMP=/tmp/autopkgtest.l82zvF/autopkgtest_tmp 801s DEBIAN_FRONTEND=noninteractive 801s DEB_BUILD_OPTIONS=parallel=2 801s GIO_USE_VFS=local 801s GIO_USE_VOLUME_MONITOR=unix 801s HOME=/home/ubuntu 801s LANG=C.UTF-8 801s LOGNAME=ubuntu 801s MAIL=/var/mail/ubuntu 801s OLDPWD=/home/ubuntu 801s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 801s PWD=/tmp/autopkgtest.l82zvF/build.7A6/src 801s SHELL=/bin/bash 801s SHLVL=2 801s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export 'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout); 801s SUDO_GID=1000 801s SUDO_UID=1000 801s SUDO_USER=ubuntu 801s TERM=linux 801s USER=ubuntu 801s XDG_RUNTIME_DIR=/tmp/autopkgtest.l82zvF/autopkgtest_tmp 801s _=/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 801s http_proxy=http://squid.internal:3128 801s https_proxy=http://squid.internal:3128 801s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 804s run-with-locales: de_DE=ISO-8859-1... 804s Character set: ISO-8859-1 804s Source file: de_DE 804s Output: /tmp/tmp.yBnZGPYzvo/de_DE 805s run-with-locales: de_DE.utf8... 805s Character set: UTF-8 805s Source file: de_DE 805s Output: /tmp/tmp.yBnZGPYzvo/de_DE.utf8 807s run-with-locales: de_DE@euro.utf8... 807s Character set: UTF-8 807s Source file: de_DE@euro 807s Output: /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8 810s run-with-locales: el_GR.utf8... 810s Character set: UTF-8 810s Source file: el_GR 810s Output: /tmp/tmp.yBnZGPYzvo/el_GR.utf8 813s run-with-locales: en_GB=ISO-8859-1... 813s Character set: ISO-8859-1 813s Source file: en_GB 813s Output: /tmp/tmp.yBnZGPYzvo/en_GB 813s run-with-locales: en_GB.utf8... 813s Character set: UTF-8 813s Source file: en_GB 813s Output: /tmp/tmp.yBnZGPYzvo/en_GB.utf8 816s run-with-locales: en_US=ISO-8859-1... 816s Character set: ISO-8859-1 816s Source file: en_US 816s Output: /tmp/tmp.yBnZGPYzvo/en_US 816s run-with-locales: en_US.utf8... 816s Character set: UTF-8 816s Source file: en_US 816s Output: /tmp/tmp.yBnZGPYzvo/en_US.utf8 818s run-with-locales: es_ES.utf8... 818s Character set: UTF-8 818s Source file: es_ES 818s Output: /tmp/tmp.yBnZGPYzvo/es_ES.utf8 821s run-with-locales: fa_IR=UTF-8... 821s Character set: UTF-8 821s Source file: fa_IR 821s Output: /tmp/tmp.yBnZGPYzvo/fa_IR 823s run-with-locales: fa_IR.utf8... 823s Character set: UTF-8 823s Source file: fa_IR 823s Output: /tmp/tmp.yBnZGPYzvo/fa_IR.utf8 825s run-with-locales: fr_FR.utf8... 825s Character set: UTF-8 825s Source file: fr_FR 825s Output: /tmp/tmp.yBnZGPYzvo/fr_FR.utf8 827s run-with-locales: hr_HR.utf8... 827s Character set: UTF-8 827s Source file: hr_HR 827s Output: /tmp/tmp.yBnZGPYzvo/hr_HR.utf8 830s run-with-locales: ja_JP.utf8... 830s Character set: UTF-8 830s Source file: ja_JP 830s Output: /tmp/tmp.yBnZGPYzvo/ja_JP.utf8 832s run-with-locales: ja_JP.EUC-JP... 832s Character set: EUC-JP 832s Source file: ja_JP 832s Output: /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp 832s run-with-locales: lt_LT.utf8... 832s Character set: UTF-8 832s Source file: lt_LT 832s Output: /tmp/tmp.yBnZGPYzvo/lt_LT.utf8 837s run-with-locales: pl_PL=ISO-8859-2... 837s Character set: ISO-8859-2 837s Source file: pl_PL 837s Output: /tmp/tmp.yBnZGPYzvo/pl_PL 837s run-with-locales: pl_PL.ISO-8859-2... 837s Character set: ISO-8859-2 837s Source file: pl_PL 837s Output: /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592 837s run-with-locales: pl_PL.utf8... 838s Character set: UTF-8 838s Source file: pl_PL 838s Output: /tmp/tmp.yBnZGPYzvo/pl_PL.utf8 841s run-with-locales: ru_RU=ISO-8859-5... 841s Character set: ISO-8859-5 841s Source file: ru_RU 841s Output: /tmp/tmp.yBnZGPYzvo/ru_RU 841s run-with-locales: ru_RU.utf8... 841s Character set: UTF-8 841s Source file: ru_RU 841s Output: /tmp/tmp.yBnZGPYzvo/ru_RU.utf8 844s run-with-locales: sr_RS=UTF-8... 844s Character set: UTF-8 844s Source file: sr_RS 844s Output: /tmp/tmp.yBnZGPYzvo/sr_RS 846s run-with-locales: sr_RS@latin=UTF-8... 846s Character set: UTF-8 846s Source file: sr_RS@latin 846s Output: /tmp/tmp.yBnZGPYzvo/sr_RS@latin 848s run-with-locales: sv_SE=ISO-8859-1... 848s Character set: ISO-8859-1 848s Source file: sv_SE 848s Output: /tmp/tmp.yBnZGPYzvo/sv_SE 849s run-with-locales: sv_SE.utf8... 849s Character set: UTF-8 849s Source file: sv_SE 849s Output: /tmp/tmp.yBnZGPYzvo/sv_SE.utf8 851s run-with-locales: tr_TR=ISO-8859-9... 851s Character set: ISO-8859-9 851s Source file: tr_TR 851s Output: /tmp/tmp.yBnZGPYzvo/tr_TR 851s run-with-locales: tr_TR.utf8... 851s Character set: UTF-8 851s Source file: tr_TR 851s Output: /tmp/tmp.yBnZGPYzvo/tr_TR.utf8 853s run-with-locales: tt_RU=UTF-8... 853s Character set: UTF-8 853s Source file: tt_RU 853s Output: /tmp/tmp.yBnZGPYzvo/tt_RU 855s run-with-locales: tt_RU.utf8... 855s Character set: UTF-8 855s Source file: tt_RU 855s Output: /tmp/tmp.yBnZGPYzvo/tt_RU.utf8 857s run-with-locales: tt_RU@iqtelif=UTF-8... 857s Character set: UTF-8 857s Source file: tt_RU@iqtelif 857s Output: /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif 860s /tmp/tmp.yBnZGPYzvo 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/lt_LT.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/ja_JP.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/tt_RU 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/tt_RU/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/sv_SE.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/es_ES.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/el_GR.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/en_US 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/en_US/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/en_GB.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/de_DE 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/de_DE/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/tr_TR.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/pl_PL.iso88592/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/de_DE.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/en_US.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/sr_RS@latin/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/ru_RU.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/tt_RU.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/pl_PL 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/pl_PL/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/fa_IR 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/fa_IR/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/fa_IR.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/en_GB 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/en_GB/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/ja_JP.eucjp/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/sr_RS 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/sr_RS/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/ru_RU 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/ru_RU/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/tt_RU@iqtelif/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/de_DE@euro.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/hr_HR.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/sv_SE 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/sv_SE/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/tr_TR 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/tr_TR/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/pl_PL.utf8/LC_NUMERIC 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_IDENTIFICATION 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_ADDRESS 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_COLLATE 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_TELEPHONE 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_CTYPE 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_MEASUREMENT 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_TIME 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_PAPER 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_MONETARY 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_NAME 860s /tmp/tmp.yBnZGPYzvo/fr_FR.utf8/LC_NUMERIC 860s 1..316 860s # Running test: glib/gdbus-export.test 860s TAP version 13 860s # random seed: R02Sd64b605f7b0188078198c94d749a969c 860s 1..6 860s # Start of gdbus tests 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_G015J2/gdbus/object-registration/.dirs/runtime 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s ok 1 /gdbus/object-registration 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_G015J2/gdbus/object-registration-with-closures/.dirs/runtime 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s ok 2 /gdbus/object-registration-with-closures 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_G015J2/gdbus/registered-interfaces/.dirs/runtime 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s ok 3 /gdbus/registered-interfaces 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_G015J2/gdbus/async-properties/.dirs/runtime 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s ok 4 /gdbus/async-properties 860s # Start of threaded-unregistration tests 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/object/.dirs/runtime 860s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 860s # /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 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 861s # slow test /gdbus/threaded-unregistration/object executed in 1.20 secs 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_G015J2/gdbus/threaded-unregistration/subtree/.dirs/runtime 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 861s # /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 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 863s # slow test /gdbus/threaded-unregistration/subtree executed in 1.24 secs 863s # End of threaded-unregistration tests 863s # End of gdbus tests 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s ok - glib/gdbus-export.test 863s # Running test: glib/hmac.test 863s TAP version 13 863s # random seed: R02Sa75343d5373916def1dd398d29423205 863s 1..37 863s # Start of hmac tests 863s ok 1 /hmac/sha1-1 863s ok 2 /hmac/sha1-2 863s ok 3 /hmac/sha1-3 863s ok 4 /hmac/sha1-4 863s ok 5 /hmac/sha1-5 863s ok 6 /hmac/sha1-6 863s ok 7 /hmac/sha1-7 863s ok 8 /hmac/sha256-1 863s ok 9 /hmac/sha256-2 863s ok 10 /hmac/sha256-3 863s ok 11 /hmac/sha256-4 863s ok 12 /hmac/sha256-5 863s ok 13 /hmac/sha256-6 863s ok 14 /hmac/sha384-1 863s ok 15 /hmac/sha384-2 863s ok 16 /hmac/sha384-3 863s ok 17 /hmac/sha384-4 863s ok 18 /hmac/sha384-5 863s ok 19 /hmac/sha384-6 863s ok 20 /hmac/sha512-1 863s ok 21 /hmac/sha512-2 863s ok 22 /hmac/sha512-3 863s ok 23 /hmac/sha512-4 863s ok 24 /hmac/sha512-5 863s ok 25 /hmac/sha512-6 863s ok 26 /hmac/md5-1 863s ok 27 /hmac/md5-2 863s ok 28 /hmac/md5-3 863s ok 29 /hmac/md5-4 863s ok 30 /hmac/md5-5 863s ok 31 /hmac/md5-6 863s ok 32 /hmac/md5-7 863s ok 33 /hmac/ref-unref 863s ok 34 /hmac/copy 863s ok 35 /hmac/for-data 863s ok 36 /hmac/for-string 863s ok 37 /hmac/for-bytes 863s # End of hmac tests 863s ok - glib/hmac.test 863s # Running test: glib/network-address.test 863s TAP version 13 863s # random seed: R02S04c5189f71abdb9910178253c6a1c097 863s 1..72 863s # Start of network-address tests 863s ok 1 /network-address/basic 863s ok 2 /network-address/scope-id 863s ok 3 /network-address/uri-scope-id 863s ok 4 /network-address/to-string 863s # Start of parse-host tests 863s ok 5 /network-address/parse-host/0 863s ok 6 /network-address/parse-host/1 863s ok 7 /network-address/parse-host/2 863s ok 8 /network-address/parse-host/3 863s ok 9 /network-address/parse-host/4 863s ok 10 /network-address/parse-host/5 863s ok 11 /network-address/parse-host/6 863s ok 12 /network-address/parse-host/7 863s ok 13 /network-address/parse-host/8 863s ok 14 /network-address/parse-host/9 863s ok 15 /network-address/parse-host/10 863s ok 16 /network-address/parse-host/11 863s ok 17 /network-address/parse-host/12 863s ok 18 /network-address/parse-host/13 863s # End of parse-host tests 863s # Start of parse-uri tests 863s ok 19 /network-address/parse-uri/0 863s ok 20 /network-address/parse-uri/1 863s ok 21 /network-address/parse-uri/2 863s ok 22 /network-address/parse-uri/3 863s ok 23 /network-address/parse-uri/4 863s ok 24 /network-address/parse-uri/5 863s ok 25 /network-address/parse-uri/6 863s ok 26 /network-address/parse-uri/7 863s ok 27 /network-address/parse-uri/8 863s ok 28 /network-address/parse-uri/9 863s # End of parse-uri tests 863s # Start of resolve-address tests 863s # Input: 192.168.1.2 863s ok 29 /network-address/resolve-address/0 863s # Input: fe80::42 863s ok 30 /network-address/resolve-address/1 863s # Input: 192.168.1.2:80 863s ok 31 /network-address/resolve-address/2 863s # Input: [fe80::42] 863s ok 32 /network-address/resolve-address/3 863s # Input: [fe80::42]:80 863s ok 33 /network-address/resolve-address/4 863s # Input: 192.168.258 863s ok 34 /network-address/resolve-address/5 863s # Input: 192.11010306 863s ok 35 /network-address/resolve-address/6 863s # Input: 3232235778 863s ok 36 /network-address/resolve-address/7 863s # Input: 0300.0250.0001.0001 863s ok 37 /network-address/resolve-address/8 863s # Input: 0xC0.0xA8.0x01.0x02 863s ok 38 /network-address/resolve-address/9 863s # Input: 0xc0.0xa8.0x01.0x02 863s ok 39 /network-address/resolve-address/10 863s # Input: 0xc0a80102 863s ok 40 /network-address/resolve-address/11 863s # End of resolve-address tests 863s # Start of loopback tests 863s ok 41 /network-address/loopback/basic 863s ok 42 /network-address/loopback/sync 863s ok 43 /network-address/loopback/async 863s # End of loopback tests 863s # Start of localhost tests 863s ok 44 /network-address/localhost/async 863s ok 45 /network-address/localhost/sync 863s # End of localhost tests 863s # Start of happy-eyeballs tests 863s ok 46 /network-address/happy-eyeballs/basic 863s ok 47 /network-address/happy-eyeballs/parallel 863s ok 48 /network-address/happy-eyeballs/slow-ipv4 863s ok 49 /network-address/happy-eyeballs/slow-ipv6 863s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 864s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 864s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 864s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 864s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 864s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 864s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 864s # /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. 864s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 864s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 864s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 864s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 864s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 864s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 864s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 864s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 864s ok 57 /network-address/happy-eyeballs/both-error 864s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 864s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 864s ok 58 /network-address/happy-eyeballs/both-error-delays-1 864s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 864s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 864s ok 59 /network-address/happy-eyeballs/both-error-delays-2 864s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 864s ok 60 /network-address/happy-eyeballs/both-error-delays-3 864s # End of happy-eyeballs tests 864s # End of network-address tests 864s # Start of gresolver tests 864s # Start of resolve-address tests 864s # Input: 192.168.1.2 864s ok 61 /gresolver/resolve-address/0 864s # Input: fe80::42 864s ok 62 /gresolver/resolve-address/1 864s # Input: 192.168.1.2:80 864s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 864s ok 63 /gresolver/resolve-address/2 864s # Input: [fe80::42] 864s # Error: Error resolving ?[fe80::42]?: Name or service not known 864s ok 64 /gresolver/resolve-address/3 864s # Input: [fe80::42]:80 864s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 864s ok 65 /gresolver/resolve-address/4 864s # Input: 192.168.258 864s # Error: Error resolving ?192.168.258?: Name or service not known 864s ok 66 /gresolver/resolve-address/5 864s # Input: 192.11010306 864s # Error: Error resolving ?192.11010306?: Name or service not known 864s ok 67 /gresolver/resolve-address/6 864s # Input: 3232235778 864s # Error: Error resolving ?3232235778?: Name or service not known 864s ok 68 /gresolver/resolve-address/7 864s # Input: 0300.0250.0001.0001 864s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 864s ok 69 /gresolver/resolve-address/8 864s # Input: 0xC0.0xA8.0x01.0x02 864s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 864s ok 70 /gresolver/resolve-address/9 864s # Input: 0xc0.0xa8.0x01.0x02 864s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 864s ok 71 /gresolver/resolve-address/10 864s # Input: 0xc0a80102 864s # Error: Error resolving ?0xc0a80102?: Name or service not known 864s ok 72 /gresolver/resolve-address/11 864s # End of resolve-address tests 864s # End of gresolver tests 864s ok - glib/network-address.test 864s # Running test: glib/gutils-user-database.test 864s TAP version 13 864s # random seed: R02Sf49802031d39e6ebac540585decadb84 864s 1..1 864s # Start of gutils tests 864s ok 1 /gutils/get_user_database_entry 864s # End of gutils tests 864s ok - glib/gutils-user-database.test 864s # Running test: glib/cxx.test 865s TAP version 13 865s # random seed: R02S249eefeb98ee62bf2a6099188eceb43e 865s 1..2 865s # Start of gtask tests 865s # 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. 865s ok 1 /gtask/name 865s # Start of name tests 865s # 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. 865s ok 2 /gtask/name/macro-wrapper 865s # End of name tests 865s # End of gtask tests 865s ok - glib/cxx.test 865s # Running test: glib/credentials.test 865s TAP version 13 865s # random seed: R02S563e6dec54dd2f7ee099d6ae48e611e3 865s 1..1 865s # Start of credentials tests 865s # GCredentials:linux-ucred:pid=3822,uid=1000,gid=1000 865s # GCredentials:linux-ucred:pid=3822,uid=0,gid=1000 865s ok 1 /credentials/basic 865s # End of credentials tests 865s ok - glib/credentials.test 865s # Running test: glib/node.test 865s TAP version 13 865s # random seed: R02S08211b6e1de0b4f7fecb2268ffaba574 865s 1..6 865s # Start of node tests 865s ok 1 /node/allocation 865s ok 2 /node/construction 865s ok 3 /node/traversal 865s ok 4 /node/misc 865s ok 5 /node/unlink 865s ok 6 /node/copy 865s # End of node tests 865s ok - glib/node.test 865s # Running test: glib/testing.test 865s TAP version 13 865s # random seed: R02S6efb876a9fa9d2c01a9e1c42bcd53a95 865s 1..1 865s # Start of assert tests 865s ok 1 /assert/finalize_object 865s # Start of finalize_object tests 865s # Start of subprocess tests 865s # End of subprocess tests 865s # End of finalize_object tests 865s # End of assert tests 865s ok - glib/testing.test 865s # Running test: glib/keyfile.test 865s TAP version 13 865s # random seed: R02Sb7e3c04316aec8309246dc4e0114bfd6 865s 1..36 865s # Start of keyfile tests 865s ok 1 /keyfile/line-ends 865s ok 2 /keyfile/whitespace 865s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 865s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 865s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 865s ok 3 /keyfile/comments 865s ok 4 /keyfile/listing 865s ok 5 /keyfile/string 865s ok 6 /keyfile/boolean 865s ok 7 /keyfile/number 865s ok 8 /keyfile/locale-string 865s ok 9 /keyfile/lists 865s ok 10 /keyfile/lists-set-get 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 865s ok 11 /keyfile/group-remove 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 865s ok 12 /keyfile/key-remove 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 865s ok 13 /keyfile/groups 865s ok 14 /keyfile/duplicate-keys 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 865s ok 15 /keyfile/duplicate-groups 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 865s ok 16 /keyfile/duplicate-groups2 865s ok 17 /keyfile/group-names 865s ok 18 /keyfile/key-names 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 865s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 865s ok 19 /keyfile/reload 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 865s ok 20 /keyfile/int64 865s ok 21 /keyfile/load 865s ok 22 /keyfile/save 865s ok 23 /keyfile/load-fail 865s ok 24 /keyfile/non-utf8 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 865s ok 25 /keyfile/page-boundary 865s ok 26 /keyfile/ref 865s ok 27 /keyfile/replace-value 865s ok 28 /keyfile/list-separator 865s ok 29 /keyfile/empty-string 865s ok 30 /keyfile/limbo 865s # Testing invalid encoding ?non-UTF-8? 865s # Testing invalid encoding ?UTF? 865s # Testing invalid encoding ?UTF-9? 865s ok 31 /keyfile/utf8 865s ok 32 /keyfile/roundtrip 865s ok 33 /keyfile/bytes 865s ok 34 /keyfile/get-locale 865s ok 35 /keyfile/free-when-not-last-ref 865s # Start of locale-string tests 865s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 865s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 865s ok 36 /keyfile/locale-string/multiple-loads 865s # End of locale-string tests 865s # End of keyfile tests 865s ok - glib/keyfile.test 865s # Running test: glib/atomic-c-11.test 865s TAP version 13 865s # random seed: R02S1cd899c15ea2661754ba263bcc043013 865s 1..2 865s # Start of atomic tests 865s ok 1 /atomic/types 865s ok 2 /atomic/threaded 865s # End of atomic tests 865s ok - glib/atomic-c-11.test 865s # Running test: glib/performance-threaded.test 865s Running test "liststore-is-a" 865s # Executing: glib/performance-threaded.test 866s 14366 runs, min/avg/max = 0.066/0.069/31.392 ms 866s Running test "liststore-interface-peek" 867s 26576 runs, min/avg/max = 0.034/0.037/21.835 ms 867s Running test "liststore-interface-peek-same" 868s 27140 runs, min/avg/max = 0.034/0.037/26.484 ms 868s ok - glib/performance-threaded.test 868s # Running test: glib/glistmodel.test 868s TAP version 13 868s # random seed: R02Sbd97ce0598ba503275e2ebf98f2c9980 868s 1..18 868s # Start of glistmodel tests 868s # Start of store tests 868s ok 1 /glistmodel/store/properties 868s ok 2 /glistmodel/store/non-gobjects 868s ok 3 /glistmodel/store/boundaries 868s ok 4 /glistmodel/store/refcounts 868s ok 5 /glistmodel/store/sorted 868s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 868s ok 6 /glistmodel/store/splice-replace-middle 868s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 868s ok 7 /glistmodel/store/splice-replace-all 868s ok 8 /glistmodel/store/splice-noop 868s ok 9 /glistmodel/store/splice-remove-multiple 868s ok 10 /glistmodel/store/splice-add-multiple 868s ok 11 /glistmodel/store/splice-wrong-type 868s ok 12 /glistmodel/store/item-type 868s ok 13 /glistmodel/store/remove-all 868s ok 14 /glistmodel/store/sort 868s ok 15 /glistmodel/store/get-item-cache 868s ok 16 /glistmodel/store/items-changed 868s ok 17 /glistmodel/store/past-end 868s ok 18 /glistmodel/store/find 868s # End of store tests 868s # End of glistmodel tests 868s ok - glib/glistmodel.test 868s # Running test: glib/override.test 868s TAP version 13 868s # random seed: R02Sac34ce5ce2a014c40d27646365f55816 868s 1..1 868s # Start of gobject tests 868s # *** emitting foo on a TestA instance 868s # Expecting: TestA::foo,TestI::foo 868s # Got: TestA::foo,TestI::foo 868s # *** emitting bar on a TestA instance 868s # Expecting: TestA::bar 868s # Got: TestA::bar 868s # *** emitting baz on a TestA instance 868s # Expecting: TestA::baz 868s # Got: TestA::baz 868s # *** emitting foo on a TestB instance 868s # Expecting: TestB::foo,TestA::foo,TestI::foo 868s # Got: TestB::foo,TestA::foo,TestI::foo 868s # *** emitting bar on a TestB instance 868s # Expecting: TestB::bar,TestA::bar 868s # Got: TestB::bar,TestA::bar 868s # *** emitting baz on a TestB instance 868s # Expecting: TestB::baz,TestA::baz 868s # Got: TestB::baz,TestA::baz 868s # *** emitting foo on a TestC instance 868s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 868s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 868s # *** emitting bar on a TestC instance 868s # Expecting: TestC::bar,TestB::bar,TestA::bar 868s # Got: TestC::bar,TestB::bar,TestA::bar 868s # *** emitting baz on a TestC instance 868s # Expecting: TestC::baz,TestB::baz,TestA::baz 868s # Got: TestC::baz,TestB::baz,TestA::baz 868s ok 1 /gobject/override 868s # End of gobject tests 868s ok - glib/override.test 868s # Running test: glib/hostutils.test 868s TAP version 13 868s # random seed: R02S93811d82197a3a86118d79398751f619 868s 1..3 868s # Start of hostutils tests 868s ok 1 /hostutils/to_ascii 868s ok 2 /hostutils/to_unicode 868s ok 3 /hostutils/is_ip_addr 868s # End of hostutils tests 868s ok - glib/hostutils.test 868s # Running test: glib/types.test 868s TAP version 13 868s # random seed: R02S3396b1c1b398cce2bf655403f375df56 868s 1..1 868s # Start of types tests 868s ok 1 /types/basic_types 868s # End of types tests 868s ok - glib/types.test 868s # Running test: glib/fileutils.test 868s TAP version 13 868s # random seed: R02S0dd730fd55d28d79be523f19bde1a7a1 868s 1..27 868s # Start of fileutils tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/paths/.dirs/runtime 868s ok 1 /fileutils/paths 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/build-path/.dirs/runtime 868s ok 2 /fileutils/build-path 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/build-pathv/.dirs/runtime 868s ok 3 /fileutils/build-pathv 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filename/.dirs/runtime 869s ok 4 /fileutils/build-filename 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/build-filenamev/.dirs/runtime 869s ok 5 /fileutils/build-filenamev 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents/.dirs/runtime 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s ok 6 /fileutils/mkdir-with-parents 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdir-with-parents-permission/.dirs/runtime 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s ok 7 /fileutils/mkdir-with-parents-permission 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/format-size-for-display/.dirs/runtime 869s ok 8 /fileutils/format-size-for-display 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/errors/.dirs/runtime 869s ok 9 /fileutils/errors 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/basename/.dirs/runtime 869s ok 10 /fileutils/basename 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/get-basename/.dirs/runtime 869s ok 11 /fileutils/get-basename 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/dirname/.dirs/runtime 869s ok 12 /fileutils/dirname 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/dir-make-tmp/.dirs/runtime 869s ok 13 /fileutils/dir-make-tmp 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/file-open-tmp/.dirs/runtime 869s ok 14 /fileutils/file-open-tmp 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/file-test/.dirs/runtime 869s ok 15 /fileutils/file-test 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/mkstemp/.dirs/runtime 869s ok 16 /fileutils/mkstemp 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/mkdtemp/.dirs/runtime 869s ok 17 /fileutils/mkdtemp 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents/.dirs/runtime 869s ok 18 /fileutils/get-contents 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/get-contents-large-file/.dirs/runtime 869s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents/.dirs/runtime 869s ok 20 /fileutils/set-contents 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/.dirs/runtime 869s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 869s # Flags 0 and test 0 869s # Flags 0 and test 1 869s # Flags 0 and test 2 869s # Flags 0 and test 3 869s # Flags 0 and test 4 869s # Flags 0 and test 5 869s # Flags 1 and test 0 869s # Flags 1 and test 1 869s # Flags 1 and test 2 869s # Flags 1 and test 3 869s # Flags 1 and test 4 869s # Flags 1 and test 5 869s # Flags 2 and test 0 869s # Flags 2 and test 1 869s # Flags 2 and test 2 869s # Flags 2 and test 3 869s # Flags 2 and test 4 869s # Flags 2 and test 5 869s # Flags 3 and test 0 869s # Flags 3 and test 1 869s # Flags 3 and test 2 869s # Flags 3 and test 3 869s # Flags 3 and test 4 869s # Flags 3 and test 5 869s # Flags 4 and test 0 869s # Flags 4 and test 1 869s # Flags 4 and test 2 869s # Flags 4 and test 3 869s # Flags 4 and test 4 869s # Flags 4 and test 5 869s # Flags 5 and test 0 869s # Flags 5 and test 1 869s # Flags 5 and test 2 869s # Flags 5 and test 3 869s # Flags 5 and test 4 869s # Flags 5 and test 5 869s # Flags 6 and test 0 869s # Flags 6 and test 1 869s # Flags 6 and test 2 869s # Flags 6 and test 3 869s # Flags 6 and test 4 869s # Flags 6 and test 5 869s ok 21 /fileutils/set-contents-full 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/read-link/.dirs/runtime 869s ok 22 /fileutils/read-link 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/stdio-wrappers/.dirs/runtime 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s ok 23 /fileutils/stdio-wrappers 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/fopen-modes/.dirs/runtime 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 869s # Testing fopen() mode 'w' 869s # Testing fopen() mode 'r' 869s # Testing fopen() mode 'a' 869s # Testing fopen() mode 'w+' 869s # Testing fopen() mode 'r+' 869s # Testing fopen() mode 'a+' 869s # Testing fopen() mode 'wb' 869s # Testing fopen() mode 'rb' 869s # Testing fopen() mode 'ab' 869s # Testing fopen() mode 'w+b' 869s # Testing fopen() mode 'r+b' 869s # Testing fopen() mode 'a+b' 869s # Testing fopen() mode 'wb+' 869s # Testing fopen() mode 'rb+' 869s # Testing fopen() mode 'ab+' 869s ok 24 /fileutils/fopen-modes 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/clear-fd/.dirs/runtime 869s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 869s # Will be closed by autocleanup: 3, -42 869s # Testing error handling 869s ok 25 /fileutils/clear-fd 869s # Start of set-contents-full tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-file/.dirs/runtime 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 869s ok 26 /fileutils/set-contents-full/read-only-file 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ZRKXJ2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 869s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 869s # Flags 0 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # Flags 1 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # Flags 2 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # Flags 3 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # Flags 4 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # Flags 5 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s # Flags 6 869s # We do not have CAP_DAC_OVERRIDE or equivalent 869s ok 27 /fileutils/set-contents-full/read-only-directory 869s # End of set-contents-full tests 869s # Start of clear-fd tests 869s # Start of subprocess tests 869s # End of subprocess tests 869s # End of clear-fd tests 869s # End of fileutils tests 869s ok - glib/fileutils.test 869s # Running test: glib/enums.test 869s TAP version 13 869s # random seed: R02Scbb2b061b8a1c0a8e34bc24f61f45084 869s 1..4 869s # Start of enum tests 869s ok 1 /enum/basic 869s ok 2 /enum/define-type 869s # End of enum tests 869s # Start of flags tests 869s ok 3 /flags/basic 869s ok 4 /flags/define-type 869s # End of flags tests 869s ok - glib/enums.test 869s # Running test: glib/uri.test 869s TAP version 13 869s # random seed: R02S1c08ff9231dd0b0096d07d16bcb4e44b 869s 1..24 869s # Start of uri tests 869s ok 1 /uri/file-to-uri 869s ok 2 /uri/file-from-uri 869s ok 3 /uri/file-roundtrip 869s ok 4 /uri/list 869s # Test 0: %2Babc %4F 869s # Test 1: %2Babc %4F 869s # Test 2: %00abc %4F 869s # Test 3: /cursors/none.png 869s # Test 4: /cursors%2fbad-subdir/none.png 869s # Test 5: %0 869s # Test 6: %ra 869s # Test 7: %2r 869s # Test 8: Timm B?der 869s # Test 9: (null) 869s ok 5 /uri/unescape-string 869s ok 6 /uri/unescape-segment 869s # Test 0: abcdefgABCDEFG._~ 869s # Test 1: :+ \\?# 869s # Test 2: a+b:c 869s # Test 3: a+b:c\303\234 869s # Test 4: \374;\322 869s # Test 5: \303\261\303( 869s ok 7 /uri/escape-string 869s ok 8 /uri/escape-bytes 869s ok 9 /uri/scheme 869s ok 10 /uri/build 869s ok 11 /uri/split 869s ok 12 /uri/is_valid 869s ok 13 /uri/to-string 869s ok 14 /uri/join 869s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 869s # Combination 0 869s # Combination 1 869s # Combination 2 869s # Combination 3 869s # Combination 4 869s # Combination 5 869s # Combination 6 869s # Combination 7 869s # Combination 8 869s # Combination 9 869s # Combination 10 869s # Combination 11 869s # Combination 12 869s # Combination 13 869s # Combination 14 869s # Combination 15 869s # Combination 16 869s # Combination 17 869s # Combination 18 869s # Combination 19 869s # Combination 20 869s # Combination 21 869s # Combination 22 869s # Combination 23 869s # Combination 24 869s # Combination 25 869s # Combination 26 869s # Combination 27 869s # Combination 28 869s # Combination 29 869s # Combination 30 869s # Combination 31 869s # Combination 32 869s # Combination 33 869s # Combination 34 869s # Combination 35 869s # Combination 36 869s # Combination 37 869s # Combination 38 869s # Combination 39 869s # Combination 40 869s # Combination 41 869s # Combination 42 869s # Combination 43 869s # Combination 44 869s # Combination 45 869s # Combination 46 869s # Combination 47 869s # Combination 48 869s # Combination 49 869s # Combination 50 869s # Combination 51 869s # Combination 52 869s # Combination 53 869s # Combination 54 869s # Combination 55 869s # Combination 56 869s # Combination 57 869s # Combination 58 869s # Combination 59 869s # Combination 60 869s # Combination 61 869s # Combination 62 869s # Combination 63 869s # Combination 64 869s # Combination 65 869s # Combination 66 869s # Combination 67 869s # Combination 68 869s # Combination 69 869s # Combination 70 869s # Combination 71 869s # Combination 72 869s # Combination 73 869s # Combination 74 869s # Combination 75 869s # Combination 76 869s # Combination 77 869s # Combination 78 869s # Combination 79 869s # Combination 80 869s # Combination 81 869s # Combination 82 869s # Combination 83 869s # Combination 84 869s # Combination 85 869s # Combination 86 869s # Combination 87 869s # Combination 88 869s # Combination 89 869s # Combination 90 869s # Combination 91 869s # Combination 92 869s # Combination 93 869s # Combination 94 869s # Combination 95 869s # Combination 96 869s # Combination 97 869s # Combination 98 869s # Combination 99 869s # Combination 100 869s # Combination 101 869s # Combination 102 869s # Combination 103 869s # Combination 104 869s # Combination 105 869s # Combination 106 869s # Combination 107 869s # Combination 108 869s # Combination 109 869s # Combination 110 869s # Combination 111 869s # Combination 112 869s # Combination 113 869s # Combination 114 869s # Combination 115 869s # Combination 116 869s # Combination 117 869s # Combination 118 869s # Combination 119 869s # Combination 120 869s # Combination 121 869s # Combination 122 869s # Combination 123 869s # Combination 124 869s # Combination 125 869s # Combination 126 869s # Combination 127 869s # Combination 128 869s # Combination 129 869s # Combination 130 869s # Combination 131 869s # Combination 132 869s # Combination 133 869s # Combination 134 869s # Combination 135 869s # Combination 136 869s # Combination 137 869s # Combination 138 869s # Combination 139 869s # Combination 140 869s # Combination 141 869s # Combination 142 869s # Combination 143 869s # Combination 144 869s # Combination 145 869s # Combination 146 869s # Combination 147 869s # Combination 148 869s # Combination 149 869s # Combination 150 869s # Combination 151 869s # Combination 152 869s # Combination 153 869s # Combination 154 869s # Combination 155 869s # Combination 156 869s # Combination 157 869s # Combination 158 869s # Combination 159 869s # Combination 160 869s # Combination 161 869s # Combination 162 869s # Combination 163 869s # Combination 164 869s # Combination 165 869s # Combination 166 869s # Combination 167 869s # Combination 168 869s # Combination 169 869s # Combination 170 869s # Combination 171 869s # Combination 172 869s # Combination 173 869s # Combination 174 869s # Combination 175 869s # Combination 176 869s # Combination 177 869s # Combination 178 869s # Combination 179 869s # Combination 180 869s # Combination 181 869s # Combination 182 869s # Combination 183 869s # Combination 184 869s # Combination 185 869s # Combination 186 869s # Combination 187 869s # Combination 188 869s # Combination 189 869s # Combination 190 869s # Combination 191 869s # Combination 192 869s # Combination 193 869s # Combination 194 869s # Combination 195 869s # Combination 196 869s # Combination 197 869s # Combination 198 869s # Combination 199 869s # Combination 200 869s # Combination 201 869s # Combination 202 869s # Combination 203 869s # Combination 204 869s # Combination 205 869s # Combination 206 869s # Combination 207 869s # Combination 208 869s # Combination 209 869s # Combination 210 869s # Combination 211 869s # Combination 212 869s # Combination 213 869s # Combination 214 869s # Combination 215 869s # Combination 216 869s # Combination 217 869s # Combination 218 869s # Combination 219 869s # Combination 220 869s # Combination 221 869s # Combination 222 869s # Combination 223 869s # Combination 224 869s # Combination 225 869s # Combination 226 869s # Combination 227 869s # Combination 228 869s # Combination 229 869s # Combination 230 869s # Combination 231 869s # Combination 232 869s # Combination 233 869s # Combination 234 869s # Combination 235 869s # Combination 236 869s # Combination 237 869s # Combination 238 869s # Combination 239 869s # Combination 240 869s # Combination 241 869s # Combination 242 869s # Combination 243 869s # Combination 244 869s # Combination 245 869s # Combination 246 869s # Combination 247 869s # Combination 248 869s # Combination 249 869s # Combination 250 869s # Combination 251 869s # Combination 252 869s # Combination 253 869s # Combination 254 869s # Combination 255 869s ok 15 /uri/join-split-round-trip 869s ok 16 /uri/normalize 869s # Start of unescape-bytes tests 869s # Test 0: %00%00 869s # Test 1: /cursors/none.png 869s # Test 2: /cursors%2fbad-subdir/none.png 869s # Test 3: %% 869s # Test 4: % 869s ok 17 /uri/unescape-bytes/nul-terminated 869s # Test 0: %00%00 869s # Test 1: /cursors/none.png 869s # Test 2: /cursors%2fbad-subdir/none.png 869s # Test 3: %% 869s # Test 4: % 869s ok 18 /uri/unescape-bytes/length 869s # End of unescape-bytes tests 869s # Start of parsing tests 869s # Test 0: foo: 869s # Test 1: file:/dev/null 869s # Test 2: file:///dev/null 869s # Test 3: ftp://user@host/path 869s # Test 4: ftp://user@host:9999/path 869s # Test 5: ftp://user:password@host/path 869s # Test 6: ftp://user:password@host:9999/path 869s # Test 7: ftp://user:password@host 869s # Test 8: http://us%65r@host 869s # Test 9: http://us%40r@host 869s # Test 10: http://us%3ar@host 869s # Test 11: http://us%2fr@host 869s # Test 12: http://us%3fr@host 869s # Test 13: http://host?query 869s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 869s # 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 869s # Test 16: http://space/%20 869s # Test 17: http://delims/%3C%3E%23%25%22 869s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 869s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 869s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 869s # Test 21: http://[3ffe:2a00:100:7031::1] 869s # Test 22: http://[1080::8:800:200C:417A]/foo 869s # Test 23: http://[::192.9.5.5]/ipng 869s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 869s # Test 25: http://[2010:836B:4179::836B:4179] 869s # Test 26: http://host/path with spaces 869s # Test 27: http://host/path 869s # Test 28: http://host/path 869s # Test 29: http://host 869s # Test 30: http://host:999 869s # Test 31: http://host/pa 869s # th 869s # Test 32: http: 869s # //host/path 869s # Test 33: http:// host/path 869s # Test 34: http://host/path? 869s # Test 35: http://host/path# 869s # Test 36: http://host/path% 869s # Test 37: http://h%ost/path 869s # Test 38: http://host/path%% 869s # Test 39: http://host/path%%% 869s # Test 40: http://host/path%/x/ 869s # Test 41: http://host/path%0x/ 869s # Test 42: http://host/path%ax 869s # Test 43: http://host/p?th/ 869s # Test 44: HTTP://////////////// 869s # Test 45: http://@host 869s # Test 46: http://:@host 869s # Test 47: scheme://foo%3Abar._webdav._tcp.local 869s # Test 48: http://example.com/.. 869s # Test 49: foo0://host/path 869s # Test 50: f0.o://host/path 869s # Test 51: http++://host/path 869s # Test 52: http-ish://host/path 869s # Test 53: http://[fe80::dead:beef%]/ 869s # Test 54: http://[fe80::dead:beef%em1]/ 869s # Test 55: http://[fe80::dead:beef%em1]/ 869s # Test 56: http://[fe80::dead:beef%25em1]/ 869s # Test 57: http://[fe80::dead:beef%25em1%20]/ 869s # Test 58: http://[fe80::dead:beef%25em%31]/ 869s # Test 59: http://[fe80::dead:beef%10]/ 869s # Test 60: http://[fe80::dead:beef%10]/ 869s # Test 61: http://[fe80::dead:beef%25]/ 869s # Test 62: http://[fe80::dead:beef%25]/ 869s # Test 63: http://[192.168.0.1%25em1]/ 869s # Test 64: http://[fe80::dead:beef%2em1]/ 869s # Test 65: http://[fe80::dead:beef%2em1]/ 869s # Test 66: http://[fe80::dead:beef%25em1%00]/ 869s # Test 67: http://[fe80::dead:beef%25em1%00]/ 869s # Test 68: http://xn--mixed-?p/ 869s ok 19 /uri/parsing/absolute 869s ok 20 /uri/parsing/relative 869s # End of parsing tests 869s # Start of iter-params tests 869s # URI 0: p1=foo&p2=bar;p3=baz 869s # URI 1: p1=foo&p2=bar 869s # URI 2: p1=foo&&P1=bar 869s # URI 3: %00=foo 869s # URI 4: p1=%00 869s # URI 5: p1=foo&p1=bar 869s # URI 6: p1=foo&P1=bar 869s # URI 7: =% 869s # URI 8: = 869s # URI 9: foo 869s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 869s ok 21 /uri/iter-params/nul-terminated 869s # URI 0: p1=foo&p2=bar;p3=baz 869s # URI 1: p1=foo&p2=bar 869s # URI 2: p1=foo&&P1=bar 869s # URI 3: %00=foo 869s # URI 4: p1=%00 869s # URI 5: p1=foo&p1=bar 869s # URI 6: p1=foo&P1=bar 869s # URI 7: =% 869s # URI 8: = 869s # URI 9: foo 869s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 869s ok 22 /uri/iter-params/length 869s # End of iter-params tests 869s # Start of parse-params tests 869s # URI 0: p1=foo&p2=bar;p3=baz 869s # URI 1: p1=foo&p2=bar 869s # URI 2: p1=foo&&P1=bar 869s # URI 3: %00=foo 869s # URI 4: p1=%00 869s # URI 5: p1=foo&p1=bar 869s # URI 6: p1=foo&P1=bar 869s # URI 7: =% 869s # URI 8: = 869s # URI 9: foo 869s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 869s ok 23 /uri/parse-params/nul-terminated 869s # URI 0: p1=foo&p2=bar;p3=baz 869s # URI 1: p1=foo&p2=bar 869s # URI 2: p1=foo&&P1=bar 869s # URI 3: %00=foo 869s # URI 4: p1=%00 869s # URI 5: p1=foo&p1=bar 869s # URI 6: p1=foo&P1=bar 869s # URI 7: =% 869s # URI 8: = 869s # URI 9: foo 869s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 869s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 869s ok 24 /uri/parse-params/length 869s # End of parse-params tests 869s # End of uri tests 869s ok - glib/uri.test 869s # Running test: glib/stream-rw_all.test 869s TAP version 13 869s # random seed: R02Sd642ebbf1b4146e200cc64f82303b462 869s 1..3 869s # Start of stream tests 869s # Start of read_all_async tests 869s ok 1 /stream/read_all_async/memory 869s # End of read_all_async tests 869s # Start of write_all_async tests 869s ok 2 /stream/write_all_async/memory 869s # End of write_all_async tests 869s # Start of read_write_all_async tests 869s ok 3 /stream/read_write_all_async/pipe 869s # End of read_write_all_async tests 869s # End of stream tests 869s ok - glib/stream-rw_all.test 869s # Running test: glib/defaultiface.test 869s TAP version 13 869s # random seed: R02S837165bb577ce6bb8453bc20e7003b3b 869s 1..2 869s # Start of gobject tests 869s ok 1 /gobject/static-iface 869s ok 2 /gobject/dynamic-iface 869s # End of gobject tests 869s ok - glib/defaultiface.test 869s # Running test: glib/strvbuilder.test 869s TAP version 13 869s # random seed: R02S90e4b2df78914de45d286a0fa7218a54 869s 1..6 869s # Start of strvbuilder tests 869s ok 1 /strvbuilder/empty 869s ok 2 /strvbuilder/add 869s ok 3 /strvbuilder/addv 869s ok 4 /strvbuilder/add_many 869s ok 5 /strvbuilder/take 869s ok 6 /strvbuilder/ref 869s # End of strvbuilder tests 869s ok - glib/strvbuilder.test 869s # Running test: glib/atomic-c-90.test 869s TAP version 13 869s # random seed: R02S0e34784faa898d3ef2571c2b363b644b 869s 1..2 869s # Start of atomic tests 869s ok 1 /atomic/types 869s ok 2 /atomic/threaded 869s # End of atomic tests 869s ok - glib/atomic-c-90.test 869s # Running test: glib/portal-support-none.test 869s TAP version 13 869s # random seed: R02S10d543395555df0205f04741dce16d2a 869s 1..1 869s # Start of portal-support tests 869s ok 1 /portal-support/none 869s # End of portal-support tests 869s ok - glib/portal-support-none.test 869s # Running test: glib/shell.test 869s TAP version 13 869s # random seed: R02S2394718edf2fd52e348b92ef3d64413a 869s 1..51 869s # Start of shell tests 869s # Start of cmdline tests 869s test cmdline: foo bar 869s ok 1 /shell/cmdline/0 869s test cmdline: foo 'bar' 869s ok 2 /shell/cmdline/1 869s test cmdline: foo "bar" 869s ok 3 /shell/cmdline/2 869s test cmdline: foo '' 'bar' 869s ok 4 /shell/cmdline/3 869s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 869s ok 5 /shell/cmdline/4 869s test cmdline: foo blah foo bar baz 869s ok 6 /shell/cmdline/5 869s test cmdline: foo ' spaces more spaces lots of spaces in this ' 869s ok 7 /shell/cmdline/6 869s test cmdline: foo \ 869s bar 869s ok 8 /shell/cmdline/7 869s test cmdline: foo '' '' 869s ok 9 /shell/cmdline/8 869s test cmdline: foo \" la la la 869s ok 10 /shell/cmdline/9 869s test cmdline: foo \ foo woo woo\ 869s ok 11 /shell/cmdline/10 869s test cmdline: foo "yada yada \$\"" 869s ok 12 /shell/cmdline/11 869s test cmdline: foo "c:\\" 869s ok 13 /shell/cmdline/12 869s test cmdline: foo # bla bla bla 869s bar 869s ok 14 /shell/cmdline/13 869s test cmdline: foo a#b 869s ok 15 /shell/cmdline/14 869s test cmdline: #foo 869s ok 16 /shell/cmdline/15 869s test cmdline: foo bar \ 869s ok 17 /shell/cmdline/16 869s test cmdline: foo 'bar baz 869s ok 18 /shell/cmdline/17 869s test cmdline: foo '"bar" baz 869s ok 19 /shell/cmdline/18 869s test cmdline: 869s ok 20 /shell/cmdline/19 869s test cmdline: 869s ok 21 /shell/cmdline/20 869s test cmdline: # foo bar 869s ok 22 /shell/cmdline/21 869s test cmdline: foo '/bar/summer'\''09 tours.pdf' 869s ok 23 /shell/cmdline/22 869s # End of cmdline tests 869s # Start of quote tests 869s ok 24 /shell/quote/0 869s ok 25 /shell/quote/1 869s ok 26 /shell/quote/2 869s ok 27 /shell/quote/3 869s ok 28 /shell/quote/4 869s ok 29 /shell/quote/5 869s ok 30 /shell/quote/6 869s # End of quote tests 869s # Start of unquote tests 869s ok 31 /shell/unquote/0 869s ok 32 /shell/unquote/1 869s ok 33 /shell/unquote/2 869s ok 34 /shell/unquote/3 869s ok 35 /shell/unquote/4 869s ok 36 /shell/unquote/5 869s ok 37 /shell/unquote/6 869s ok 38 /shell/unquote/7 869s ok 39 /shell/unquote/8 869s ok 40 /shell/unquote/9 869s ok 41 /shell/unquote/10 869s ok 42 /shell/unquote/11 869s ok 43 /shell/unquote/12 869s ok 44 /shell/unquote/13 869s ok 45 /shell/unquote/14 869s ok 46 /shell/unquote/15 869s ok 47 /shell/unquote/16 869s ok 48 /shell/unquote/17 869s ok 49 /shell/unquote/18 869s ok 50 /shell/unquote/19 869s ok 51 /shell/unquote/20 869s # End of unquote tests 869s # End of shell tests 869s ok - glib/shell.test 869s # Running test: glib/io-channel.test 869s TAP version 13 869s # random seed: R02S5c4ac2a439659824e5689dc35c08b6aa 869s 1..2 869s # Start of io-channel tests 869s # Line one 869s # 869s # Line two 869s # 869s # Line three 869s # 869s # /* Hello */ 869s # 869s # \x1234\x567890\x6666 869s # 869s # read 62 bytes, wrote 62 bytes 869s ok 1 /io-channel/read-write 869s # Start of read-line tests 869s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 869s ok 2 /io-channel/read-line/embedded-nuls 869s # End of read-line tests 869s # End of io-channel tests 869s ok - glib/io-channel.test 869s # Running test: glib/thread-deprecated.test 869s TAP version 13 869s # random seed: R02Sab5dc6f8b616f26f26f282abaf813f14 869s 1..6 869s # Start of thread tests 869s ok 1 /thread/mutex 870s ok 2 /thread/static-rec-mutex 871s # Executing: glib/thread-deprecated.test 874s ok 3 /thread/static-private 874s # slow test /thread/static-private executed in 4.20 secs 875s # Executing: glib/thread-deprecated.test 879s ok 4 /thread/static-rw-lock 879s # slow test /thread/static-rw-lock executed in 5.00 secs 879s ok 5 /thread/once 881s # Executing: glib/thread-deprecated.test 886s # Executing: glib/thread-deprecated.test 889s ok 6 /thread/rerun-all 889s # slow test /thread/rerun-all executed in 10.02 secs 889s # End of thread tests 889s ok - glib/thread-deprecated.test 889s # Running test: glib/convert.test 889s TAP version 13 889s # random seed: R02Sd0941f55e594e38c3ed1bd4253c255f1 889s 1..14 889s # Start of conversion tests 889s ok 1 /conversion/no-conv 889s ok 2 /conversion/iconv-state 889s ok 3 /conversion/illegal-sequence 889s ok 4 /conversion/byte-order 889s ok 5 /conversion/unicode 889s ok 6 /conversion/filename-utf8 889s ok 7 /conversion/filename-display 889s ok 8 /conversion/convert-embedded-nul 889s # Start of locale-to-utf8 tests 889s ok 9 /conversion/locale-to-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of locale-to-utf8 tests 889s # Start of locale-from-utf8 tests 889s ok 10 /conversion/locale-from-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of locale-from-utf8 tests 889s # Start of filename-to-utf8 tests 889s ok 11 /conversion/filename-to-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of filename-to-utf8 tests 889s # Start of filename-from-utf8 tests 889s ok 12 /conversion/filename-from-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of filename-from-utf8 tests 889s # Start of filename-from-uri tests 889s ok 13 /conversion/filename-from-uri/query-is-ignored 889s ok 14 /conversion/filename-from-uri/fragment-is-ignored 889s # End of filename-from-uri tests 889s # End of conversion tests 889s ok - glib/convert.test 889s # Running test: glib/portal-support-flatpak-full.test 889s TAP version 13 889s # random seed: R02Sa7a58cd4c96f98172a33025ec840c9d4 889s 1..1 889s # Start of portal-support tests 889s # Start of flatpak tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/runtime 889s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_FRJ5J2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 889s ok 1 /portal-support/flatpak/full 889s # End of flatpak tests 889s # End of portal-support tests 889s ok - glib/portal-support-flatpak-full.test 889s # Running test: glib/error.test 889s TAP version 13 889s # random seed: R02Sc54d1b3e1931d617199c2889ab2802af 889s 1..3 889s # Start of error tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RAD4J2/error/from-errno/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RAD4J2/error/from-errno/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RAD4J2/error/from-errno/.dirs/system-config1:/tmp/test_error_RAD4J2/error/from-errno/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RAD4J2/error/from-errno/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RAD4J2/error/from-errno/.dirs/system-data1:/tmp/test_error_RAD4J2/error/from-errno/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RAD4J2/error/from-errno/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RAD4J2/error/from-errno/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RAD4J2/error/from-errno/.dirs/runtime 889s ok 1 /error/from-errno 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/system-config1:/tmp/test_error_RAD4J2/error/from-file-error/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/system-data1:/tmp/test_error_RAD4J2/error/from-file-error/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RAD4J2/error/from-file-error/.dirs/runtime 889s ok 2 /error/from-file-error 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_RAD4J2/error/from-win32-error/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_RAD4J2/error/from-win32-error/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RAD4J2/error/from-win32-error/.dirs/runtime 889s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 889s # End of error tests 889s ok - glib/error.test 889s # Running test: glib/gobject-query.py.test 889s TAP version 13 889s ok 1 __main__.TestGobjectQuery.test_froots 889s # gobject-query: /usr/bin/gobject-query 889s # Running: ['/usr/bin/gobject-query', 'froots'] 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: ├void 889s # ├GInterface 889s # │ └GTypePlugin 889s # ├gchar 889s # ├guchar 889s # ├gboolean 889s # ├gint 889s # ├guint 889s # ├glong 889s # ├gulong 889s # ├gint64 889s # ├guint64 889s # ├GEnum 889s # ├GFlags 889s # ├gfloat 889s # ├gdouble 889s # ├gchararray 889s # ├gpointer 889s # │ └GType 889s # ├GBoxed 889s # │ └GValueArray 889s # ├GParam 889s # │ ├GParamChar 889s # │ ├GParamUChar 889s # │ ├GParamBoolean 889s # │ ├GParamInt 889s # │ ├GParamUInt 889s # │ ├GParamLong 889s # │ ├GParamULong 889s # │ ├GParamInt64 889s # │ ├GParamUInt64 889s # │ ├GParamUnichar 889s # │ ├GParamEnum 889s # │ ├GParamFlags 889s # │ ├GParamFloat 889s # │ ├GParamDouble 889s # │ ├GParamString 889s # │ ├GParamParam 889s # │ ├GParamBoxed 889s # │ ├GParamPointer 889s # │ ├GParamValueArray 889s # │ ├GParamObject 889s # │ ├GParamOverride 889s # │ ├GParamGType 889s # │ └GParamVariant 889s # ├GObject 889s # └GVariant 889s ok 2 __main__.TestGobjectQuery.test_help 889s # gobject-query: /usr/bin/gobject-query 889s # Running: ['/usr/bin/gobject-query', '--help'] 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 889s # -r specify root type 889s # -n don't descend type tree 889s # -h show help 889s # -b specify indent string 889s # -i specify incremental indent string 889s # -s specify line spacing 889s # qualifiers: 889s # froots iterate over fundamental roots 889s # tree print type tree 889s ok 3 __main__.TestGobjectQuery.test_tree 889s # gobject-query: /usr/bin/gobject-query 889s # Running: ['/usr/bin/gobject-query', 'tree'] 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: GObject 889s ok 4 __main__.TestGobjectQuery.test_version 889s # gobject-query: /usr/bin/gobject-query 889s # Running: ['/usr/bin/gobject-query', '--version'] 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: 2.79.3 889s 1..4 889s ok - glib/gobject-query.py.test 889s # Running test: glib/onceinit.test 889s TAP version 13 889s # random seed: R02S4c9dfa1776aea485c0f02999ac4ed406 889s 1..1 889s # Start of thread tests 889s ok 1 /thread/onceinit 889s # End of thread tests 889s ok - glib/onceinit.test 889s # Running test: glib/basic-signals.test 889s TAP version 13 889s # random seed: R02S89fa6b46387e366b2fdd3e9dc0fa15b9 889s 1..1 889s # Start of gobject tests 889s ok 1 /gobject/basic-signals 889s # End of gobject tests 889s ok - glib/basic-signals.test 889s # Running test: glib/actions.test 889s TAP version 13 889s # random seed: R02S28c5e68c3eb69f28ab9b7189d487313e 889s 1..12 889s # Start of actions tests 889s ok 1 /actions/basic 889s ok 2 /actions/name 889s ok 3 /actions/simplegroup 889s ok 4 /actions/stateful 889s ok 5 /actions/default-activate 889s ok 6 /actions/entries 889s ok 7 /actions/parse-detailed 889s ok 8 /actions/property 889s ok 9 /actions/no-properties 889s # Start of dbus tests 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s ok 10 /actions/dbus/export 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # Executing: glib/actions.test 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 11 /actions/dbus/threaded 891s # slow test /actions/dbus/threaded executed in 1.26 secs 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 12 /actions/dbus/bug679509 891s # End of dbus tests 891s # End of actions tests 891s ok - glib/actions.test 891s # Running test: glib/macros-c-17.test 891s TAP version 13 891s # random seed: R02S64c3f1f1078e8cf5c9045b781d1fdd50 891s 1..4 891s # Start of C tests 891s ok 1 /C/standard-17 891s # End of C tests 891s # Start of alignof tests 891s ok 2 /alignof/fallback 891s # End of alignof tests 891s # Start of assert tests 891s ok 3 /assert/static 891s # End of assert tests 891s # Start of struct tests 891s ok 4 /struct/sizeof_member 891s # End of struct tests 891s ok - glib/macros-c-17.test 891s # Running test: glib/portal-support-flatpak-network-only.test 891s TAP version 13 891s # random seed: R02S07acb6e92c59bba3efcc389c61300dbd 891s 1..1 891s # Start of portal-support tests 891s # Start of flatpak tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/runtime 891s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_V5H9J2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 891s ok 1 /portal-support/flatpak/network 891s # End of flatpak tests 891s # End of portal-support tests 891s ok - glib/portal-support-flatpak-network-only.test 891s # Running test: glib/gapplication.test 891s TAP version 13 891s # random seed: R02S4ac06b66276da3cdbf0c12aa2bc2e39f 891s 1..24 891s # Start of gapplication tests 891s ok 1 /gapplication/no-dbus 891s ok 2 /gapplication/no-appid 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 3 /gapplication/properties 891s ok 4 /gapplication/app-id 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 5 /gapplication/quit 891s ok 6 /gapplication/registered 891s ok 7 /gapplication/local-actions 891s ok 8 /gapplication/local-command-line 891s ok 9 /gapplication/resource-path 891s ok 10 /gapplication/test-help 891s ok 11 /gapplication/command-line-done 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 12 /gapplication/test-busy 891s ok 13 /gapplication/test-handle-local-options1 891s ok 14 /gapplication/test-handle-local-options2 891s ok 15 /gapplication/test-handle-local-options3 891s ok 16 /gapplication/api 891s ok 17 /gapplication/version 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # launching subprocess 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 18 /gapplication/replace 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # launching subprocess 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok 19 /gapplication/no-replace 892s # slow test /gapplication/no-replace executed in 0.51 secs 892s # Start of dbus tests 892s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 892s # Message 0 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 1 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 2 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok 20 /gapplication/dbus/activate 892s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 892s # Message 0 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 892s # Message 1 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 2 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 3 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok 21 /gapplication/dbus/open 892s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 892s # Message 0 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 1 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 2 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok 22 /gapplication/dbus/command-line 892s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok 23 /gapplication/dbus/command-line-done 892s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 892s # Message 0 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 1 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 2 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 3 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 4 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # Message 5 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok 24 /gapplication/dbus/activate-action 892s # End of dbus tests 892s # End of gapplication tests 892s ok - glib/gapplication.test 892s # Running test: glib/inet-address.test 892s TAP version 13 892s # random seed: R02Sdd35d652c97511df31ff471133453356 892s 1..11 892s # Start of inet-address tests 892s ok 1 /inet-address/parse 892s ok 2 /inet-address/any 892s ok 3 /inet-address/loopback 892s ok 4 /inet-address/bytes 892s ok 5 /inet-address/property 892s # End of inet-address tests 892s # Start of socket-address tests 892s ok 6 /socket-address/basic 892s ok 7 /socket-address/to-string 892s # End of socket-address tests 892s # Start of address-mask tests 892s ok 8 /address-mask/parse 892s ok 9 /address-mask/property 892s ok 10 /address-mask/equal 892s ok 11 /address-mask/match 892s # End of address-mask tests 892s ok - glib/inet-address.test 892s # Running test: glib/refcount-macro.test 892s TAP version 13 892s # random seed: R02Sceb03a8e4583caface0a727f546fef7e 892s 1..4 892s # Start of refcount tests 892s ok 1 /refcount/grefcount 892s ok 2 /refcount/gatomicrefcount 892s # Start of grefcount tests 892s ok 3 /refcount/grefcount/saturation 892s # End of grefcount tests 892s # Start of gatomicrefcount tests 892s ok 4 /refcount/gatomicrefcount/saturation 892s # End of gatomicrefcount tests 892s # End of refcount tests 892s ok - glib/refcount-macro.test 892s # Running test: glib/value.test 892s TAP version 13 892s # random seed: R02Sb04aa201e6863a59f337fedc0dd78286 892s 1..8 892s # Start of value tests 892s ok 1 /value/basic 892s ok 2 /value/collection 892s ok 3 /value/copying 892s ok 4 /value/enum-transformation 892s ok 5 /value/gtype 892s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 892s ok 6 /value/string 892s # Next: GObject object in GValue of GObject to GValue of GObject 892s # Next: GObject object in GValue of GObject to GValue of TestInterface 892s # Next: GObject object in GValue of GObject to GValue of TestObjectA 892s # Next: GObject object in GValue of GObject to GValue of TestObjectB 892s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 892s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 892s # Next: TestObjectA object in GValue of GObject to GValue of GObject 892s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 892s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 892s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 892s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 892s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 892s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 892s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 892s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 892s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 892s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 892s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 892s # Next: TestObjectB object in GValue of GObject to GValue of GObject 892s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 892s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 892s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 892s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 892s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 892s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 892s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 892s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 892s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 892s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 892s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 892s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 892s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 892s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 892s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 892s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 892s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 892s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 892s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 892s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 892s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 892s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 892s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 892s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 892s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 892s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 892s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 892s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 892s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 892s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 892s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 892s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 892s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 892s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 892s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 892s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 892s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 892s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 892s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 892s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 892s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 892s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 892s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 892s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 892s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 892s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 892s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 892s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 892s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 892s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 892s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 892s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 892s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 892s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 892s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 892s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 892s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 892s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 892s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 892s ok 7 /value/transform-object 892s # Start of array tests 892s ok 8 /value/array/basic 892s # End of array tests 892s # End of value tests 892s ok - glib/value.test 892s # Running test: glib/atomic.test 892s TAP version 13 892s # random seed: R02S3f8b9ebd2f7d720b1b0a0d9b377fb099 892s 1..2 892s # Start of atomic tests 892s ok 1 /atomic/types 892s ok 2 /atomic/threaded 892s # End of atomic tests 892s ok - glib/atomic.test 892s # Running test: glib/refcount.test 892s TAP version 13 892s # random seed: R02Sda92836ffe956d6705389369e08b8888 892s 1..4 892s # Start of refcount tests 892s ok 1 /refcount/grefcount 892s ok 2 /refcount/gatomicrefcount 892s # Start of grefcount tests 892s ok 3 /refcount/grefcount/saturation 892s # End of grefcount tests 892s # Start of gatomicrefcount tests 892s ok 4 /refcount/gatomicrefcount/saturation 892s # End of gatomicrefcount tests 892s # End of refcount tests 892s ok - glib/refcount.test 892s # Running test: glib/proxy-test.test 892s TAP version 13 892s # random seed: R02S64bc45c1e789b5cda2aa304e47403b76 892s 1..11 892s # Start of proxy tests 892s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 892s ok 1 /proxy/direct_sync 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c81fac0 and GSocketClientAsyncConnectData 0xac7e4c815390 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c8204d0 for GSocketClientAsyncConnectData 0xac7e4c815390 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 2 /proxy/direct_async 892s ok 3 /proxy/single_sync 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c821dd0 and GSocketClientAsyncConnectData 0xac7e4c820f20 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c822930 for GSocketClientAsyncConnectData 0xac7e4c820f20 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 4 /proxy/single_async 892s ok 5 /proxy/multiple_sync 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c822660 and GSocketClientAsyncConnectData 0xac7e4c822430 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c822fb0 for GSocketClientAsyncConnectData 0xac7e4c822430 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c8229c0 for GSocketClientAsyncConnectData 0xac7e4c822430 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 6 /proxy/multiple_async 892s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 892s ok 7 /proxy/invalid-uris-sync 892s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c822930 and GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 892s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 892s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c81cb00 for GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c822660 and GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c8201e0 for GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 8 /proxy/invalid-uris-async 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 892s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 892s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c823070 for GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 892s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c8237f0 for GSocketClientAsyncConnectData 0xac7e4c822240 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 9 /proxy/dns 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c823820 for GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 892s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c821d10 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c823d60 for GSocketClientAsyncConnectData 0xac7e4c821d10 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac7e4c8223b0 and GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac7e4c822ce0 for GSocketClientAsyncConnectData 0xac7e4c822720 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 892s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 892s ok 10 /proxy/override 892s ok 11 /proxy/enumerator-ports 892s # End of proxy tests 892s ok - glib/proxy-test.test 892s # Running test: glib/io-channel-basic.test 892s TAP version 13 892s # random seed: R02S8aa36141a355d37e816beb53b977ddfe 892s 1..1 892s # Start of gio tests 892s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 892s # # random seed: R02S558ce38420fcfe973bcbff4347409852 892s # # GLib-DEBUG: io-channel-basic: child writing 8+3384 bytes to 6 892s # GLib-DEBUG: io-channel-basic: ...from 5: IN 892s # GLib-DEBUG: io-channel-basic: ...from 5: 3384 bytes 892s # GLib-DEBUG: io-channel-basic: ...from 5: OK 892s # # GLib-DEBUG: io-channel-basic: child writing 8+4415 bytes to 6 892s # GLib-DEBUG: io-channel-basic: ...from 5: IN 892s # GLib-DEBUG: io-channel-basic: ...from 5: 4415 bytes 892s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # # GLib-DEBUG: io-channel-basic: child writing 8+234 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 234 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # # GLib-DEBUG: io-channel-basic: child writing 8+2347 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 2347 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # # GLib-DEBUG: io-channel-basic: child writing 8+1694 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 1694 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 893s # # GLib-DEBUG: io-channel-basic: child writing 8+3507 bytes to 6 893s # GLib-DEBUG: io-channel-basic: ...from 5: IN 893s # GLib-DEBUG: io-channel-basic: ...from 5: 3507 bytes 893s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # # GLib-DEBUG: io-channel-basic: child writing 8+4502 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 4502 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # # GLib-DEBUG: io-channel-basic: child writing 8+1048 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 1048 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # # GLib-DEBUG: io-channel-basic: child writing 8+1269 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 1269 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 894s # # GLib-DEBUG: io-channel-basic: child writing 8+2461 bytes to 6 894s # GLib-DEBUG: io-channel-basic: ...from 5: IN 894s # GLib-DEBUG: io-channel-basic: ...from 5: 2461 bytes 894s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # # GLib-DEBUG: io-channel-basic: child writing 8+3830 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 3830 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # # GLib-DEBUG: io-channel-basic: child writing 8+1716 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 1716 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # # GLib-DEBUG: io-channel-basic: child writing 8+4795 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 4795 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 895s # # GLib-DEBUG: io-channel-basic: child writing 8+4801 bytes to 6 895s # GLib-DEBUG: io-channel-basic: ...from 5: IN 895s # GLib-DEBUG: io-channel-basic: ...from 5: 4801 bytes 895s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # Executing: glib/io-channel-basic.test 896s # # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 4756 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # # GLib-DEBUG: io-channel-basic: child writing 8+4682 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 4682 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # # GLib-DEBUG: io-channel-basic: child writing 8+3394 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 3394 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 896s # # GLib-DEBUG: io-channel-basic: child writing 8+4481 bytes to 6 896s # GLib-DEBUG: io-channel-basic: ...from 5: IN 896s # GLib-DEBUG: io-channel-basic: ...from 5: 4481 bytes 896s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # # GLib-DEBUG: io-channel-basic: child writing 8+2966 bytes to 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 2966 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # # GLib-DEBUG: io-channel-basic: child writing 8+4798 bytes to 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 4798 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # # GLib-DEBUG: io-channel-basic: child writing 8+2442 bytes to 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 2442 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 897s # # GLib-DEBUG: io-channel-basic: child writing 8+1047 bytes to 6 897s # GLib-DEBUG: io-channel-basic: ...from 5: IN 897s # GLib-DEBUG: io-channel-basic: ...from 5: 1047 bytes 897s # GLib-DEBUG: io-channel-basic: ...from 5: OK 898s # # GLib-DEBUG: io-channel-basic: child writing 8+3728 bytes to 6 898s # GLib-DEBUG: io-channel-basic: ...from 5: IN 898s # GLib-DEBUG: io-channel-basic: ...from 5: 3728 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 5: OK 898s # # GLib-DEBUG: io-channel-basic: child writing 8+2687 bytes to 6 898s # GLib-DEBUG: io-channel-basic: ...from 5: IN 898s # GLib-DEBUG: io-channel-basic: ...from 5: 2687 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 5: OK 898s # # GLib-DEBUG: io-channel-basic: child writing 8+4724 bytes to 6 898s # GLib-DEBUG: io-channel-basic: ...from 5: IN 898s # GLib-DEBUG: io-channel-basic: ...from 5: 4724 bytes 898s # GLib-DEBUG: io-channel-basic: ...from 5: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+1393 bytes to 6 899s # GLib-DEBUG: io-channel-basic: ...from 5: IN 899s # GLib-DEBUG: io-channel-basic: ...from 5: 1393 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 5: OK 899s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 899s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 899s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 899s # # random seed: R02Sab7c0eb43d573dc6a44350579d68274e 899s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 899s # # random seed: R02S35273845945ea66ce0c1849beefa9db8 899s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 899s # # random seed: R02Sb341b28bd84a6c22ed2118cc6a1156dc 899s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 899s # # random seed: R02S7921922f8fd3d6f6792401ea927a5a9e 899s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 899s # # random seed: R02S2132a6fb2420d639362f4a69c34db5ce 899s # # GLib-DEBUG: io-channel-basic: child writing 8+4719 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 4719 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+792 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 792 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+3791 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 3791 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+11 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 11 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+3055 bytes to 17 899s # GLib-DEBUG: io-channel-basic: ...from 16: IN 899s # GLib-DEBUG: io-channel-basic: ...from 16: 3055 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 16: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+417 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 417 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+4289 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 4289 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+1095 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 1095 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+1468 bytes to 17 899s # GLib-DEBUG: io-channel-basic: ...from 16: IN 899s # GLib-DEBUG: io-channel-basic: ...from 16: 1468 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 16: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+1162 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 1162 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+1703 bytes to 11 899s # GLib-DEBUG: io-channel-basic: ...from 10: IN 899s # GLib-DEBUG: io-channel-basic: ...from 10: 1703 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 10: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+263 bytes to 15 899s # GLib-DEBUG: io-channel-basic: ...from 14: IN 899s # GLib-DEBUG: io-channel-basic: ...from 14: 263 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 14: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+1154 bytes to 13 899s # GLib-DEBUG: io-channel-basic: ...from 12: IN 899s # GLib-DEBUG: io-channel-basic: ...from 12: 1154 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 12: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+3604 bytes to 9 899s # GLib-DEBUG: io-channel-basic: ...from 8: IN 899s # GLib-DEBUG: io-channel-basic: ...from 8: 3604 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 8: OK 899s # # GLib-DEBUG: io-channel-basic: child writing 8+2903 bytes to 17 899s # GLib-DEBUG: io-channel-basic: ...from 16: IN 899s # GLib-DEBUG: io-channel-basic: ...from 16: 2903 bytes 899s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+1425 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 1425 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+2945 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 2945 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+2487 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 2487 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+4605 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 4605 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+4939 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 4939 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+2442 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 2442 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+1444 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 1444 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+1373 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 1373 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+3891 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 3891 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+4368 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 4368 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+640 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 640 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+1733 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 1733 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+4739 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 4739 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+466 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 466 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+2132 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 2132 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+2190 bytes to 13 900s # GLib-DEBUG: io-channel-basic: ...from 12: IN 900s # GLib-DEBUG: io-channel-basic: ...from 12: 2190 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 12: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+1928 bytes to 11 900s # GLib-DEBUG: io-channel-basic: ...from 10: IN 900s # GLib-DEBUG: io-channel-basic: ...from 10: 1928 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 10: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+4241 bytes to 9 900s # GLib-DEBUG: io-channel-basic: ...from 8: IN 900s # GLib-DEBUG: io-channel-basic: ...from 8: 4241 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 8: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+3389 bytes to 15 900s # GLib-DEBUG: io-channel-basic: ...from 14: IN 900s # GLib-DEBUG: io-channel-basic: ...from 14: 3389 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 14: OK 900s # # GLib-DEBUG: io-channel-basic: child writing 8+1926 bytes to 17 900s # GLib-DEBUG: io-channel-basic: ...from 16: IN 900s # GLib-DEBUG: io-channel-basic: ...from 16: 1926 bytes 900s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # Executing: glib/io-channel-basic.test 901s # # GLib-DEBUG: io-channel-basic: child writing 8+2945 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 2945 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+2094 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 2094 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+2357 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 2357 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+857 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 857 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+3060 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 3060 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+1120 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 1120 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+1272 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 1272 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+1490 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 1490 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+2505 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 2505 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+151 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 151 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+3731 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 3731 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+1755 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 1755 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+4425 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 4425 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+3565 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 3565 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+3377 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 3377 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+4770 bytes to 13 901s # GLib-DEBUG: io-channel-basic: ...from 12: IN 901s # GLib-DEBUG: io-channel-basic: ...from 12: 4770 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 12: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+43 bytes to 11 901s # GLib-DEBUG: io-channel-basic: ...from 10: IN 901s # GLib-DEBUG: io-channel-basic: ...from 10: 43 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 10: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+4724 bytes to 15 901s # GLib-DEBUG: io-channel-basic: ...from 14: IN 901s # GLib-DEBUG: io-channel-basic: ...from 14: 4724 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 14: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+1507 bytes to 9 901s # GLib-DEBUG: io-channel-basic: ...from 8: IN 901s # GLib-DEBUG: io-channel-basic: ...from 8: 1507 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 8: OK 901s # # GLib-DEBUG: io-channel-basic: child writing 8+1286 bytes to 17 901s # GLib-DEBUG: io-channel-basic: ...from 16: IN 901s # GLib-DEBUG: io-channel-basic: ...from 16: 1286 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+2353 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 2353 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+2331 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 2331 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+4989 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 4989 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+3636 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 3636 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+1593 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 1593 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+4557 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 4557 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+2772 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 2772 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+2998 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 2998 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+4209 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 4209 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+441 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 441 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+4083 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 4083 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+1829 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 1829 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+996 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 996 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+1165 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 1165 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+3751 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 3751 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+612 bytes to 11 902s # GLib-DEBUG: io-channel-basic: ...from 10: IN 902s # GLib-DEBUG: io-channel-basic: ...from 10: 612 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 10: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+2170 bytes to 13 902s # GLib-DEBUG: io-channel-basic: ...from 12: IN 902s # GLib-DEBUG: io-channel-basic: ...from 12: 2170 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 12: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+4982 bytes to 15 902s # GLib-DEBUG: io-channel-basic: ...from 14: IN 902s # GLib-DEBUG: io-channel-basic: ...from 14: 4982 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 14: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+899 bytes to 9 902s # GLib-DEBUG: io-channel-basic: ...from 8: IN 902s # GLib-DEBUG: io-channel-basic: ...from 8: 899 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 8: OK 902s # # GLib-DEBUG: io-channel-basic: child writing 8+4158 bytes to 17 902s # GLib-DEBUG: io-channel-basic: ...from 16: IN 902s # GLib-DEBUG: io-channel-basic: ...from 16: 4158 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+1034 bytes to 13 903s # GLib-DEBUG: io-channel-basic: ...from 12: IN 903s # GLib-DEBUG: io-channel-basic: ...from 12: 1034 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 12: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+730 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 730 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+2537 bytes to 15 903s # GLib-DEBUG: io-channel-basic: ...from 14: IN 903s # GLib-DEBUG: io-channel-basic: ...from 14: 2537 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 14: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+1231 bytes to 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 1231 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+3134 bytes to 17 903s # GLib-DEBUG: io-channel-basic: ...from 16: IN 903s # GLib-DEBUG: io-channel-basic: ...from 16: 3134 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+234 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 234 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+1766 bytes to 13 903s # GLib-DEBUG: io-channel-basic: ...from 12: IN 903s # GLib-DEBUG: io-channel-basic: ...from 12: 1766 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 12: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+432 bytes to 15 903s # GLib-DEBUG: io-channel-basic: ...from 14: IN 903s # GLib-DEBUG: io-channel-basic: ...from 14: 432 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 14: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+4606 bytes to 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 4606 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+3286 bytes to 17 903s # GLib-DEBUG: io-channel-basic: ...from 16: IN 903s # GLib-DEBUG: io-channel-basic: ...from 16: 3286 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+998 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 998 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+3832 bytes to 13 903s # GLib-DEBUG: io-channel-basic: ...from 12: IN 903s # GLib-DEBUG: io-channel-basic: ...from 12: 3832 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 12: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+151 bytes to 15 903s # GLib-DEBUG: io-channel-basic: ...from 14: IN 903s # GLib-DEBUG: io-channel-basic: ...from 14: 151 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 14: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+3995 bytes to 9 903s # GLib-DEBUG: io-channel-basic: ...from 8: IN 903s # GLib-DEBUG: io-channel-basic: ...from 8: 3995 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 8: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+3385 bytes to 17 903s # GLib-DEBUG: io-channel-basic: ...from 16: IN 903s # GLib-DEBUG: io-channel-basic: ...from 16: 3385 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 16: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+4460 bytes to 11 903s # GLib-DEBUG: io-channel-basic: ...from 10: IN 903s # GLib-DEBUG: io-channel-basic: ...from 10: 4460 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 10: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+240 bytes to 13 903s # GLib-DEBUG: io-channel-basic: ...from 12: IN 903s # GLib-DEBUG: io-channel-basic: ...from 12: 240 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 12: OK 903s # # GLib-DEBUG: io-channel-basic: child writing 8+1303 bytes to 15 903s # GLib-DEBUG: io-channel-basic: ...from 14: IN 903s # GLib-DEBUG: io-channel-basic: ...from 14: 1303 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 14: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+1032 bytes to 9 904s # GLib-DEBUG: io-channel-basic: ...from 8: IN 904s # GLib-DEBUG: io-channel-basic: ...from 8: 1032 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 8: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+79 bytes to 17 904s # GLib-DEBUG: io-channel-basic: ...from 16: IN 904s # GLib-DEBUG: io-channel-basic: ...from 16: 79 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 16: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+4377 bytes to 11 904s # GLib-DEBUG: io-channel-basic: ...from 10: IN 904s # GLib-DEBUG: io-channel-basic: ...from 10: 4377 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 10: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+2853 bytes to 13 904s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 904s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 904s # GLib-DEBUG: io-channel-basic: ...from 12: 2853 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 12: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+2389 bytes to 15 904s # GLib-DEBUG: io-channel-basic: ...from 14: IN 904s # GLib-DEBUG: io-channel-basic: ...from 14: 2389 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 14: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+1030 bytes to 9 904s # GLib-DEBUG: io-channel-basic: ...from 8: IN 904s # GLib-DEBUG: io-channel-basic: ...from 8: 1030 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 8: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+1361 bytes to 17 904s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 904s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 904s # GLib-DEBUG: io-channel-basic: ...from 16: 1361 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 16: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+535 bytes to 11 904s # GLib-DEBUG: io-channel-basic: ...from 10: IN 904s # GLib-DEBUG: io-channel-basic: ...from 10: 535 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 10: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+4382 bytes to 15 904s # GLib-DEBUG: io-channel-basic: ...from 14: IN 904s # GLib-DEBUG: io-channel-basic: ...from 14: 4382 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 14: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+3191 bytes to 9 904s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 904s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 904s # GLib-DEBUG: io-channel-basic: ...from 8: 3191 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 8: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+4808 bytes to 11 904s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 904s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 904s # GLib-DEBUG: io-channel-basic: ...from 10: 4808 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 10: OK 904s # # GLib-DEBUG: io-channel-basic: child writing 8+188 bytes to 15 904s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 904s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 904s # GLib-DEBUG: io-channel-basic: ...from 14: 188 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 14: OK 904s ok 1 /gio/io-basics 904s # slow test /gio/io-basics executed in 12.55 secs 904s # End of gio tests 904s ok - glib/io-channel-basic.test 904s # Running test: glib/struct-info.test 904s TAP version 13 904s # random seed: R02S0450fd82e1026190b42426f0b129dfdf 904s 1..4 904s # Start of struct-info tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_I7K1J2/struct-info/field-iterators/.dirs/runtime 904s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 904s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 904s ok 1 /struct-info/field-iterators 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_I7K1J2/struct-info/sizeof-gvalue/.dirs/runtime 904s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 904s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 904s ok 2 /struct-info/sizeof-gvalue 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_I7K1J2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 904s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 904s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 904s ok 3 /struct-info/is-pointer-for-struct-method-arg 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_I7K1J2/struct-info/boxed/.dirs/runtime 904s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 904s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 904s ok 4 /struct-info/boxed 904s # End of struct-info tests 904s ok - glib/struct-info.test 904s # Running test: glib/hash.test 904s TAP version 13 904s # random seed: R02Sc9fd2630600d09dadf67ce262da26cab 904s 1..34 904s # Start of hash tests 904s ok 1 /hash/misc 904s ok 2 /hash/one 904s ok 3 /hash/honeyman 904s ok 4 /hash/direct 904s ok 5 /hash/direct2 904s ok 6 /hash/int 904s ok 7 /hash/int64 904s ok 8 /hash/double 904s ok 9 /hash/string 904s ok 10 /hash/set 904s ok 11 /hash/set-ref 904s ok 12 /hash/ref 904s ok 13 /hash/remove-all 904s ok 14 /hash/recursive-remove-all 904s ok 15 /hash/find 904s ok 16 /hash/foreach 904s ok 17 /hash/foreach-steal 904s ok 18 /hash/steal-extended 904s ok 19 /hash/steal-all-keys 904s ok 20 /hash/steal-all-values 904s ok 21 /hash/lookup-extended 904s ok 22 /hash/new-similar 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 904s ok 23 /hash/lookup-null-key 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 904s ok 24 /hash/destroy-modify 904s ok 25 /hash/consistency 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 904s ok 26 /hash/iter-replace 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 904s ok 27 /hash/set-insert-corruption 904s ok 28 /hash/set-to-strv 904s ok 29 /hash/get-keys-as-ptr-array 904s ok 30 /hash/get-values-as-ptr-array 904s ok 31 /hash/primes 904s # Start of int64 tests 904s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 904s ok 32 /hash/int64/collisions 904s # End of int64 tests 904s # Start of double tests 904s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 904s ok 33 /hash/double/collisions 904s # End of double tests 904s # Start of recursive-remove-all tests 904s # End of recursive-remove-all tests 904s # Start of steal-extended tests 904s ok 34 /hash/steal-extended/optional 904s # End of steal-extended tests 904s # End of hash tests 904s ok - glib/hash.test 904s # Running test: glib/gnotification.test 904s TAP version 13 904s # random seed: R02S375c27ef7ee3ac8b90607dfd75c7c02e 904s 1..2 904s # Start of gnotification tests 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s ok 1 /gnotification/basic 904s ok 2 /gnotification/properties 904s # End of gnotification tests 904s ok - glib/gnotification.test 904s # Running test: glib/properties-refcount2.test 904s TAP version 13 904s # random seed: R02Sfd5531a10ac3897d0cc8c01a43231d65 904s 1..1 904s # Start of gobject tests 904s # Start of refcount tests 904s # init 0xbde21dcd2770 904s # 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # dispose 0xbde21dcd2770! 905s # 905s ok 1 /gobject/refcount/properties-2 905s # slow test /gobject/refcount/properties-2 executed in 1.09 secs 905s # End of refcount tests 905s # End of gobject tests 905s ok - glib/properties-refcount2.test 905s # Running test: glib/sleepy-stream.test 905s TAP version 13 905s # random seed: R02S3aa5160367d4891d7c004b6178cc0b91 905s 1..2 905s # Start of filter-stream tests 905s ok 1 /filter-stream/input 905s ok 2 /filter-stream/async 905s # End of filter-stream tests 905s ok - glib/sleepy-stream.test 905s # Running test: glib/data-output-stream.test 905s TAP version 13 905s # random seed: R02S41b291b06633f85a909c57cdc5de8ca4 905s 1..7 905s # Start of data-output-stream tests 905s ok 1 /data-output-stream/basic 905s ok 2 /data-output-stream/write-lines-LF 905s ok 3 /data-output-stream/write-lines-CR 905s ok 4 /data-output-stream/write-lines-CR-LF 905s ok 5 /data-output-stream/write-int 905s ok 6 /data-output-stream/seek 905s ok 7 /data-output-stream/truncate 905s # End of data-output-stream tests 905s ok - glib/data-output-stream.test 905s # Running test: glib/gdbus-server-auth.test 906s # Executing: glib/gdbus-server-auth.test 906s TAP version 13 906s # random seed: R02Se56afd38048426367c46a18701adead0 906s 1..9 906s # Start of gdbus tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/.dirs/runtime 906s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-WNQXJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 906s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-WNQXJ2/dbus-0vAEgTEJ 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4125 906s ok 1 /gdbus/server-auth 906s # Start of server-auth tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/abstract/.dirs/runtime 906s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-H7MWJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 906s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-H7MWJ2/dbus-XOIEKhdI 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 906s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 906s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4125 906s ok 2 /gdbus/server-auth/abstract 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/tcp/.dirs/runtime 906s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 906s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/.dirs/runtime 906s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-GQSHK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 906s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-GQSHK2/dbus-3FfKooTB 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4125 906s ok 4 /gdbus/server-auth/anonymous 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/.dirs/runtime 906s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-T62GK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 906s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-T62GK2/dbus-LEBFQ3Jk 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4125 906s ok 5 /gdbus/server-auth/external 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/.dirs/runtime 906s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-X47GK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 906s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 906s # Start of anonymous tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 906s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 906s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 906s # End of anonymous tests 906s # Start of external tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 906s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-C77GK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 906s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XXQXJ2/gdbus-server-auth-C77GK2/dbus-QLtT8WfF 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4125 906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 906s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 906s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 906s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4125,uid=1000,gid=1000 906s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4125 906s ok 8 /gdbus/server-auth/external/require-same-user 906s # End of external tests 906s # Start of sha1 tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XXQXJ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 906s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 906s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 906s # End of sha1 tests 906s # End of server-auth tests 906s # End of gdbus tests 906s ok - glib/gdbus-server-auth.test 906s # Running test: glib/once.test 906s TAP version 13 906s # random seed: R02Se004bd01e1d9345b55ebe9da0a45ebb0 906s 1..5 906s # Start of once tests 906s # /once/single-threaded summary: Test g_once() usage from a single thread 906s ok 1 /once/single-threaded 906s # /once/multi-threaded summary: Test g_once() usage from multiple threads 906s ok 2 /once/multi-threaded 906s # End of once tests 906s # Start of once-init tests 906s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 906s ok 3 /once-init/single-threaded 906s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 906s ok 4 /once-init/multi-threaded 906s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 906s ok 5 /once-init/string 906s # End of once-init tests 906s ok - glib/once.test 906s # Running test: glib/utf8-pointer.test 906s TAP version 13 906s # random seed: R02S0d90b1a514fdd02aed73dd7f50b1f1fc 906s 1..3 906s # Start of utf8 tests 907s ok 1 /utf8/offsets 907s # slow test /utf8/offsets executed in 0.89 secs 907s ok 2 /utf8/lengths 907s ok 3 /utf8/find 907s # End of utf8 tests 907s ok - glib/utf8-pointer.test 907s # Running test: glib/utils-c-90.test 907s TAP version 13 907s # random seed: R02S57efea3a955e1a0427ad734980d3c1e0 907s 1..40 907s # Start of utils tests 907s ok 1 /utils/language-names 907s ok 2 /utils/locale-variants 907s ok 3 /utils/version 907s ok 4 /utils/appname 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 907s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 907s ok 5 /utils/prgname-thread-safety 907s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 907s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 907s ok 6 /utils/tmpdir 907s ok 7 /utils/basic_bits 907s ok 8 /utils/bits 907s ok 9 /utils/swap 907s ok 10 /utils/find-program 907s ok 11 /utils/find-program-for-path 907s ok 12 /utils/debug 907s ok 13 /utils/codeset 907s ok 14 /utils/codeset2 907s ok 15 /utils/console-charset 907s ok 16 /utils/gettext 907s ok 17 /utils/username 907s ok 18 /utils/realname 907s ok 19 /utils/hostname 907s ok 20 /utils/xdgdirs 907s ok 21 /utils/specialdir 907s # NAME: Ubuntu 907s ok 22 /utils/os-info 907s ok 23 /utils/clear-pointer 907s ok 24 /utils/clear-pointer-cast 907s ok 25 /utils/take-pointer 907s ok 26 /utils/clear-source 907s ok 27 /utils/misc-mem 907s # /utils/aligned-mem summary: Aligned memory allocator 907s # Alignment must not be zero 907s # Alignment must be a power of two 907s # Alignment must be a multiple of sizeof(void*) 907s ok 28 /utils/aligned-mem 907s # /utils/free-sized summary: Check that g_free_sized() works 907s ok 29 /utils/free-sized 907s ok 30 /utils/nullify 907s ok 31 /utils/atexit 907s ok 32 /utils/check-setuid 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 907s ok 33 /utils/int-limits 907s ok 34 /utils/clear-list 907s ok 35 /utils/clear-slist 907s # Start of specialdir tests 907s ok 36 /utils/specialdir/desktop 907s # End of specialdir tests 907s # Start of clear-pointer tests 907s ok 37 /utils/clear-pointer/side-effects 907s # End of clear-pointer tests 907s # Start of aligned-mem tests 907s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 907s ok 38 /utils/aligned-mem/alignment 907s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 907s ok 39 /utils/aligned-mem/zeroed 907s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 907s ok 40 /utils/aligned-mem/free-sized 907s # Start of subprocess tests 907s # End of subprocess tests 907s # End of aligned-mem tests 907s # End of utils tests 907s ok - glib/utils-c-90.test 907s # Running test: glib/unix.test 907s TAP version 13 907s # random seed: R02S960d4303eb94b25dbb0c5b16d9fc2bb2 907s 1..17 907s # Start of glib-unix tests 907s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 907s ok 1 /glib-unix/closefrom 907s ok 2 /glib-unix/pipe 907s # /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 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 907s ok 3 /glib-unix/pipe-stdio-overwrite 907s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 907s ok 4 /glib-unix/pipe-struct 907s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 907s ok 5 /glib-unix/pipe-struct-auto 907s ok 6 /glib-unix/error 907s ok 7 /glib-unix/nonblocking 907s ok 8 /glib-unix/sighup 907s # slow test /glib-unix/sighup executed in 0.50 secs 908s ok 9 /glib-unix/sigterm 908s # slow test /glib-unix/sigterm executed in 0.50 secs 908s ok 10 /glib-unix/sighup_again 908s # slow test /glib-unix/sighup_again executed in 0.50 secs 908s ok 11 /glib-unix/sighup_add_remove 908s ok 12 /glib-unix/sighup_nested 910s ok 13 /glib-unix/callback_after_signal 910s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 910s ok 14 /glib-unix/child-wait 910s # Start of closefrom tests 910s # Start of subprocess tests 910s # End of subprocess tests 910s # End of closefrom tests 910s # Start of pipe tests 910s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 910s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 910s ok 15 /glib-unix/pipe/fd-cloexec 910s # End of pipe tests 910s # Start of get-passwd-entry tests 910s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 910s ok 16 /glib-unix/get-passwd-entry/root 910s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 910s ok 17 /glib-unix/get-passwd-entry/nonexistent 910s # End of get-passwd-entry tests 910s # End of glib-unix tests 910s ok - glib/unix.test 910s # Running test: glib/defaultvalue.test 910s TAP version 13 910s # random seed: R02S62be700256bd3d85c67ce4506f210ca3 910s 1..84 910s # Start of Default Values tests 910s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 910s ok 2 /Default Values/GAppLaunchContext 910s ok 3 /Default Values/GApplicationCommandLine 910s # skipping GApplication:is-remote 910s ok 4 /Default Values/GApplication 910s ok 5 /Default Values/GBinding # SKIP mandatory construct params 910s ok 6 /Default Values/GBindingGroup 910s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 910s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 910s ok 9 /Default Values/GBytesIcon 910s ok 10 /Default Values/GCancellable 910s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 910s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 910s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 910s ok 14 /Default Values/GCredentials 910s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 910s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 910s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 910s ok 18 /Default Values/GDBusAuthObserver 910s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 910s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 910s ok 21 /Default Values/GDBusMessage 910s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 910s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 910s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 910s ok 25 /Default Values/GDBusObjectProxy 910s ok 26 /Default Values/GDBusObjectSkeleton 910s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 910s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 910s ok 29 /Default Values/GEmblem 910s ok 30 /Default Values/GEmblemedIcon 910s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 910s ok 32 /Default Values/GFileInfo 910s ok 33 /Default Values/GFileInputStream 910s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 910s ok 35 /Default Values/GFileOutputStream 910s ok 36 /Default Values/GFilenameCompleter 910s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 910s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 910s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 910s ok 40 /Default Values/GInitiallyUnowned 910s ok 41 /Default Values/GIOModule 910s ok 42 /Default Values/GListStore 910s ok 43 /Default Values/GMemoryInputStream 910s ok 44 /Default Values/GMemoryOutputStream 910s ok 45 /Default Values/GMenu 910s ok 46 /Default Values/GMenuItem 910s ok 47 /Default Values/GMountOperation 910s ok 48 /Default Values/GNativeSocketAddress 910s ok 49 /Default Values/GNetworkAddress 910s ok 50 /Default Values/GNetworkService 910s ok 51 /Default Values/GNotification 910s ok 52 /Default Values/GObject 910s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 910s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 910s # skipping GProxyAddressEnumerator:proxy-resolver 910s ok 54 /Default Values/GProxyAddressEnumerator 910s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 910s ok 56 /Default Values/GSettings # SKIP mandatory construct params 910s ok 57 /Default Values/GSignalGroup 910s ok 58 /Default Values/GSimpleAction 910s ok 59 /Default Values/GSimpleActionGroup 910s ok 60 /Default Values/GSimpleAsyncResult 910s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 910s ok 62 /Default Values/GSimplePermission 910s ok 63 /Default Values/GSimpleProxyResolver 910s # skipping GSocketClient:proxy-resolver 910s ok 64 /Default Values/GSocketClient 910s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 910s ok 66 /Default Values/GSocket # SKIP initialization failed 910s ok 67 /Default Values/GSocketListener 910s ok 68 /Default Values/GSocketService 910s ok 69 /Default Values/GSubprocess # SKIP initialization failed 910s ok 70 /Default Values/GSubprocessLauncher 910s # GLib-GIO-DEBUG: GTask 0xc011cfeedf50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 910s ok 71 /Default Values/GTask 910s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 910s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 910s ok 74 /Default Values/GTestDBus 910s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 910s ok 76 /Default Values/GThreadedSocketService 910s ok 77 /Default Values/GTlsInteraction 910s ok 78 /Default Values/GTlsPassword 910s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 910s ok 80 /Default Values/GUnixFDList 910s ok 81 /Default Values/GVfs 910s ok 82 /Default Values/GVolumeMonitor 910s ok 83 /Default Values/GZlibCompressor 910s ok 84 /Default Values/GZlibDecompressor 910s # End of Default Values tests 910s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 910s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 910s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 910s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 910s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 910s cleaning up pid 4356 910s ok - glib/defaultvalue.test 910s # Running test: glib/win32-appinfo.test 910s TAP version 13 910s # random seed: R02Sc11d5540efe407fac1cacc05774a9872 910s 1..5 910s # Start of appinfo tests 910s ok 1 /appinfo/utf16-strfuncs 910s ok 2 /appinfo/win32-extract-executable 910s ok 3 /appinfo/win32-rundll32-fixup 910s ok 4 /appinfo/win32-parse-filename 910s ok 5 /appinfo/win32-utf16-conversion-fail 910s # Start of subprocess tests 910s # End of subprocess tests 910s # End of appinfo tests 910s ok - glib/win32-appinfo.test 910s # Running test: glib/contexts.test 910s TAP version 13 910s # random seed: R02S35fe9d29ee5a5ed6b938db12a2c847d4 910s 1..5 910s # Start of gio tests 910s # Start of contexts tests 910s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 910s ok 1 /gio/contexts/thread-independence 910s ok 2 /gio/contexts/context-independence 910s # Start of context-specific tests 910s ok 3 /gio/contexts/context-specific/identity 910s ok 4 /gio/contexts/context-specific/emit 910s ok 5 /gio/contexts/context-specific/emit-and-unref 910s # End of context-specific tests 910s # End of contexts tests 910s # End of gio tests 910s ok - glib/contexts.test 910s # Running test: glib/converter-stream.test 911s # Executing: glib/converter-stream.test 911s TAP version 13 911s # random seed: R02S83ba843b48c2f90617315a7d54f4842d 911s 1..17 911s # Start of converter tests 911s ok 1 /converter/basics 911s # End of converter tests 911s # Start of converter-input-stream tests 911s ok 2 /converter-input-stream/expander 911s ok 3 /converter-input-stream/compressor 911s # Start of truncation tests 911s ok 4 /converter-input-stream/truncation/zlib 911s ok 5 /converter-input-stream/truncation/gzip 911s ok 6 /converter-input-stream/truncation/raw 911s # End of truncation tests 911s # Start of charset tests 911s ok 7 /converter-input-stream/charset/utf8->latin1 911s ok 8 /converter-input-stream/charset/latin1->utf8 911s ok 9 /converter-input-stream/charset/fallbacks 911s # End of charset tests 911s # End of converter-input-stream tests 911s # Start of converter-output-stream tests 911s # Start of roundtrip tests 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 911s ok 10 /converter-output-stream/roundtrip/zlib-0 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 911s ok 11 /converter-output-stream/roundtrip/zlib-9 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 911s ok 12 /converter-output-stream/roundtrip/gzip-0 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 911s ok 13 /converter-output-stream/roundtrip/gzip-9 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 911s ok 14 /converter-output-stream/roundtrip/raw-0 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 911s ok 15 /converter-output-stream/roundtrip/raw-9 911s # End of roundtrip tests 911s # End of converter-output-stream tests 911s # Start of converter-stream tests 911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 911s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc2fc4f87dc0 and GSocketClientAsyncConnectData 0xbc2fc537d320 911s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 911s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 911s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc2fc4f98540 for GSocketClientAsyncConnectData 0xbc2fc537d320 911s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 911s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 911s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 911s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 911s ok 16 /converter-stream/pollable 911s ok 17 /converter-stream/leftover 911s # End of converter-stream tests 911s ok - glib/converter-stream.test 911s # Running test: glib/utils-c-17.test 911s TAP version 13 911s # random seed: R02Sf733c63ea1886d8ea3a02dc030ae35bd 911s 1..40 911s # Start of utils tests 911s ok 1 /utils/language-names 911s ok 2 /utils/locale-variants 911s ok 3 /utils/version 911s ok 4 /utils/appname 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 911s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 911s ok 5 /utils/prgname-thread-safety 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 911s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 911s ok 6 /utils/tmpdir 911s ok 7 /utils/basic_bits 911s ok 8 /utils/bits 911s ok 9 /utils/swap 911s ok 10 /utils/find-program 911s ok 11 /utils/find-program-for-path 911s ok 12 /utils/debug 911s ok 13 /utils/codeset 911s ok 14 /utils/codeset2 911s ok 15 /utils/console-charset 911s ok 16 /utils/gettext 911s ok 17 /utils/username 911s ok 18 /utils/realname 911s ok 19 /utils/hostname 911s ok 20 /utils/xdgdirs 911s ok 21 /utils/specialdir 911s # NAME: Ubuntu 911s ok 22 /utils/os-info 911s ok 23 /utils/clear-pointer 911s ok 24 /utils/clear-pointer-cast 911s ok 25 /utils/take-pointer 911s ok 26 /utils/clear-source 911s ok 27 /utils/misc-mem 911s # /utils/aligned-mem summary: Aligned memory allocator 911s # Alignment must not be zero 911s # Alignment must be a power of two 911s # Alignment must be a multiple of sizeof(void*) 911s ok 28 /utils/aligned-mem 911s # /utils/free-sized summary: Check that g_free_sized() works 911s ok 29 /utils/free-sized 911s ok 30 /utils/nullify 911s ok 31 /utils/atexit 911s ok 32 /utils/check-setuid 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 911s ok 33 /utils/int-limits 911s ok 34 /utils/clear-list 911s ok 35 /utils/clear-slist 911s # Start of specialdir tests 911s ok 36 /utils/specialdir/desktop 911s # End of specialdir tests 911s # Start of clear-pointer tests 911s ok 37 /utils/clear-pointer/side-effects 911s # End of clear-pointer tests 911s # Start of aligned-mem tests 911s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 911s ok 38 /utils/aligned-mem/alignment 911s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 911s ok 39 /utils/aligned-mem/zeroed 911s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 911s ok 40 /utils/aligned-mem/free-sized 911s # Start of subprocess tests 911s # End of subprocess tests 911s # End of aligned-mem tests 911s # End of utils tests 911s ok - glib/utils-c-17.test 911s # Running test: glib/function-info.test 912s TAP version 13 912s # random seed: R02S22a04e548339b96350ef21311343a519 912s 1..1 912s # Start of function-info tests 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_3T5GK2/function-info/invoker/.dirs/runtime 912s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 912s # /function-info/invoker summary: Test preparing a function invoker 912s ok 1 /function-info/invoker 912s # End of function-info tests 912s ok - glib/function-info.test 912s # Running test: glib/signals-refcount3.test 912s TAP version 13 912s # random seed: R02S9eb7b3f590546bf2954fb646c6dc44cc 912s 1..1 912s # Start of gobject tests 912s # Start of refcount tests 912s # init 0xb11f904ba420 912s # 912s # init 0xb11f904ba5c0 912s # 916s # Executing: glib/signals-refcount3.test 917s # dispose 0xb11f904ba420! 917s # 917s # dispose 0xb11f904ba5c0! 917s # 917s ok 1 /gobject/refcount/signals 917s # slow test /gobject/refcount/signals executed in 5.00 secs 917s # End of refcount tests 917s # End of gobject tests 917s ok - glib/signals-refcount3.test 917s # Running test: glib/union-info.test 917s TAP version 13 917s # random seed: R02S24400f622a599fdb4c1ff6a54b802584 917s 1..2 917s # Start of union-info tests 917s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/home 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/cache 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_OG9EK2/union-info/basic/.dirs/system-config2 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/config 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_OG9EK2/union-info/basic/.dirs/system-data2 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/data 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/state 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_OG9EK2/union-info/basic/.dirs/runtime 917s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 917s # /union-info/basic summary: Test basic properties of GIUnionInfo 917s ok 1 /union-info/basic 917s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/home 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/cache 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_OG9EK2/union-info/methods/.dirs/system-config2 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/config 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_OG9EK2/union-info/methods/.dirs/system-data2 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/data 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/state 917s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_OG9EK2/union-info/methods/.dirs/runtime 917s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 917s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 917s ok 2 /union-info/methods 917s # End of union-info tests 917s ok - glib/union-info.test 917s # Running test: glib/volumemonitor.test 917s TAP version 13 917s # random seed: R02S7bf156d0bd863d9978d017ffddf00de3 917s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 917s 1..3 917s # Start of volumemonitor tests 917s ok 1 /volumemonitor/connected_drives 917s ok 2 /volumemonitor/volumes 917s ok 3 /volumemonitor/mounts 917s # End of volumemonitor tests 917s ok - glib/volumemonitor.test 917s # Running test: glib/objects-refcount2.test 917s TAP version 13 917s # random seed: R02Sa45e5d78fa7c77ab9ef72e2bbf26bb17 917s 1..1 917s # Start of gobject tests 917s # Start of refcount tests 917s # init 0xc05ce6633740 917s # 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 917s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 918s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # Executing: glib/objects-refcount2.test 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # dispose 0xc05ce6633740! 923s # 923s ok 1 /gobject/refcount/object-advanced 923s # slow test /gobject/refcount/object-advanced executed in 6.23 secs 923s # End of refcount tests 923s # End of gobject tests 923s ok - glib/objects-refcount2.test 923s # Running test: glib/gdbus-proxy-unique-name.test 923s TAP version 13 923s # random seed: R02S7d315b329847a8cdcf424268dc5e2469 923s 1..1 923s # Start of gdbus tests 923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/home 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/cache 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/system-config2 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/config 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/system-data2 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/data 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/state 923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_MMN9J2/gdbus/proxy-unique-name/.dirs/runtime 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 923s ok 1 /gdbus/proxy-unique-name 923s # End of gdbus tests 923s ok - glib/gdbus-proxy-unique-name.test 923s # Running test: glib/tree.test 923s TAP version 13 923s # random seed: R02S2a51adbe93fece971253fe2667e10654 923s 1..7 923s # Start of tree tests 923s ok 1 /tree/search 923s ok 2 /tree/remove 923s ok 3 /tree/destroy 923s ok 4 /tree/traverse 923s ok 5 /tree/insert 923s ok 6 /tree/bounds 923s ok 7 /tree/remove-all 923s # End of tree tests 923s ok - glib/tree.test 923s # Running test: glib/properties.test 923s TAP version 13 923s # random seed: R02S2679ba8feb160077cbc46c3e8976b1f1 923s 1..13 923s # Start of properties tests 923s ok 1 /properties/install 923s ok 2 /properties/install-many 923s ok 3 /properties/notify 923s ok 4 /properties/notify-queue 923s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 923s ok 5 /properties/construct 923s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 923s # Test g_object_get_property with an initialized value 923s # Test g_object_get_property with an uninitialized value 923s # Test g_object_get_property with a transformable value 923s ok 6 /properties/get-property 923s ok 7 /properties/testv_with_no_properties 923s ok 8 /properties/testv_with_valid_properties 923s ok 9 /properties/testv_with_invalid_property_type 923s ok 10 /properties/testv_with_invalid_property_names 923s ok 11 /properties/testv_getv 923s ok 12 /properties/testv_notify_queue 923s # Start of set-property tests 923s # Start of variant tests 923s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 923s ok 13 /properties/set-property/variant/floating 923s # End of variant tests 923s # End of set-property tests 923s # End of properties tests 923s ok - glib/properties.test 923s # Running test: glib/sort.test 923s TAP version 13 923s # random seed: R02S35d54981b256d433de98d5026a2ae3a2 923s 1..4 923s # Start of sort tests 923s ok 1 /sort/basic 923s ok 2 /sort/zero-elements 923s ok 3 /sort/stable 923s ok 4 /sort/big 923s # End of sort tests 923s ok - glib/sort.test 923s # Running test: glib/g-file.test 923s TAP version 13 923s # random seed: R02Sbb1668e872b85cc89ef27326c2ccdd89 923s 1..8 923s # Start of g-file tests 923s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 923s ok 1 /g-file/test_g_file_new_null 923s ok 2 /g-file/test_g_file_new_for_path 923s ok 3 /g-file/test_g_file_new_for_uri 923s ok 4 /g-file/test_g_file_dup 923s ok 5 /g-file/test_g_file_get_parse_name_utf8 923s file:///tmp/test-tmp-glib_g-file.test-HFW5J2 923s file:///tmp 923s file:///tmp 923s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 923s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 923s ok 6 /g-file/test_g_file_new_for_commandline_arg 923s /dir1 /dir1/dir2/dir3/ 923s /dir1/ /dir1/dir2/dir3/ 923s /dir1 /dir1/dir2/dir3 923s /dir1/ /dir1/dir2/dir3 923s /tmp/ /something/ 923s /dir1/dir2 /dir1/ 923s //dir1/new //dir1/new/dir2/dir3 923s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 923s file:///dir1 file:///dir1/dir2/dir3/ 923s file:///dir1/ file:///dir1/dir2/dir3/ 923s file:///dir1 file:///dir1/dir2/dir3 923s file:///dir1/ file:///dir1/dir2/dir3 923s file:///tmp/ file:///something/ 923s file:///dir1/dir2 file:///dir1/ 923s file:////dir1/new file:////dir1/new/dir2/dir3 923s 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 923s ok 7 /g-file/test_g_file_has_prefix 923s ok 8 /g-file/test_g_file_get_parent_child 923s # End of g-file tests 923s ok - glib/g-file.test 923s # Running test: glib/checksum.test 923s TAP version 13 923s # random seed: R02S90e446a280980c792264b6bef821a5f4 923s 1..1851 923s # Start of checksum tests 923s ok 1 /checksum/unsupported 923s # Start of MD5 tests 923s ok 2 /checksum/MD5/0 923s ok 3 /checksum/MD5/1 923s ok 4 /checksum/MD5/2 923s ok 5 /checksum/MD5/3 923s ok 6 /checksum/MD5/4 923s ok 7 /checksum/MD5/5 923s ok 8 /checksum/MD5/6 923s ok 9 /checksum/MD5/7 923s ok 10 /checksum/MD5/8 923s ok 11 /checksum/MD5/9 923s ok 12 /checksum/MD5/10 923s ok 13 /checksum/MD5/11 923s ok 14 /checksum/MD5/12 923s ok 15 /checksum/MD5/13 923s ok 16 /checksum/MD5/14 923s ok 17 /checksum/MD5/15 923s ok 18 /checksum/MD5/16 923s ok 19 /checksum/MD5/17 923s ok 20 /checksum/MD5/18 923s ok 21 /checksum/MD5/19 923s ok 22 /checksum/MD5/20 923s ok 23 /checksum/MD5/21 923s ok 24 /checksum/MD5/22 923s ok 25 /checksum/MD5/23 923s ok 26 /checksum/MD5/24 923s ok 27 /checksum/MD5/25 923s ok 28 /checksum/MD5/26 923s ok 29 /checksum/MD5/27 923s ok 30 /checksum/MD5/28 923s ok 31 /checksum/MD5/29 923s ok 32 /checksum/MD5/30 923s ok 33 /checksum/MD5/31 923s ok 34 /checksum/MD5/32 923s ok 35 /checksum/MD5/33 923s ok 36 /checksum/MD5/34 923s ok 37 /checksum/MD5/35 923s ok 38 /checksum/MD5/36 923s ok 39 /checksum/MD5/37 923s ok 40 /checksum/MD5/38 923s ok 41 /checksum/MD5/39 923s ok 42 /checksum/MD5/40 923s ok 43 /checksum/MD5/41 923s ok 44 /checksum/MD5/42 923s ok 45 /checksum/MD5/43 923s ok 46 /checksum/MD5/44 923s ok 47 /checksum/MD5/45 923s ok 48 /checksum/MD5/46 923s ok 49 /checksum/MD5/47 923s ok 50 /checksum/MD5/48 923s ok 51 /checksum/MD5/49 923s ok 52 /checksum/MD5/50 923s ok 53 /checksum/MD5/51 923s ok 54 /checksum/MD5/52 923s ok 55 /checksum/MD5/53 923s ok 56 /checksum/MD5/54 923s ok 57 /checksum/MD5/55 923s ok 58 /checksum/MD5/56 923s ok 59 /checksum/MD5/57 923s ok 60 /checksum/MD5/58 923s ok 61 /checksum/MD5/59 923s ok 62 /checksum/MD5/60 923s ok 63 /checksum/MD5/61 923s ok 64 /checksum/MD5/62 923s ok 65 /checksum/MD5/63 923s ok 66 /checksum/MD5/64 923s ok 67 /checksum/MD5/65 923s ok 68 /checksum/MD5/66 923s ok 69 /checksum/MD5/67 923s ok 70 /checksum/MD5/68 923s ok 71 /checksum/MD5/69 923s ok 72 /checksum/MD5/70 923s ok 73 /checksum/MD5/71 923s ok 74 /checksum/MD5/72 923s ok 75 /checksum/MD5/73 923s ok 76 /checksum/MD5/74 923s ok 77 /checksum/MD5/75 923s ok 78 /checksum/MD5/76 923s ok 79 /checksum/MD5/77 923s ok 80 /checksum/MD5/78 923s ok 81 /checksum/MD5/79 923s ok 82 /checksum/MD5/80 923s ok 83 /checksum/MD5/81 923s ok 84 /checksum/MD5/82 923s ok 85 /checksum/MD5/83 923s ok 86 /checksum/MD5/84 923s ok 87 /checksum/MD5/85 923s ok 88 /checksum/MD5/86 923s ok 89 /checksum/MD5/87 923s ok 90 /checksum/MD5/88 923s ok 91 /checksum/MD5/89 923s ok 92 /checksum/MD5/90 923s ok 93 /checksum/MD5/91 923s ok 94 /checksum/MD5/92 923s ok 95 /checksum/MD5/93 923s ok 96 /checksum/MD5/94 923s ok 97 /checksum/MD5/95 923s ok 98 /checksum/MD5/96 923s ok 99 /checksum/MD5/97 923s ok 100 /checksum/MD5/98 923s ok 101 /checksum/MD5/99 923s ok 102 /checksum/MD5/100 923s ok 103 /checksum/MD5/101 923s ok 104 /checksum/MD5/102 923s ok 105 /checksum/MD5/103 923s ok 106 /checksum/MD5/104 923s ok 107 /checksum/MD5/105 923s ok 108 /checksum/MD5/106 923s ok 109 /checksum/MD5/107 923s ok 110 /checksum/MD5/108 923s ok 111 /checksum/MD5/109 923s ok 112 /checksum/MD5/110 923s ok 113 /checksum/MD5/111 923s ok 114 /checksum/MD5/112 923s ok 115 /checksum/MD5/113 923s ok 116 /checksum/MD5/114 923s ok 117 /checksum/MD5/115 923s ok 118 /checksum/MD5/116 923s ok 119 /checksum/MD5/117 923s ok 120 /checksum/MD5/118 923s ok 121 /checksum/MD5/119 923s ok 122 /checksum/MD5/120 923s ok 123 /checksum/MD5/121 923s ok 124 /checksum/MD5/122 923s ok 125 /checksum/MD5/123 923s ok 126 /checksum/MD5/124 923s ok 127 /checksum/MD5/125 923s ok 128 /checksum/MD5/126 923s ok 129 /checksum/MD5/127 923s ok 130 /checksum/MD5/128 923s ok 131 /checksum/MD5/129 923s ok 132 /checksum/MD5/130 923s ok 133 /checksum/MD5/131 923s ok 134 /checksum/MD5/132 923s ok 135 /checksum/MD5/133 923s ok 136 /checksum/MD5/134 923s ok 137 /checksum/MD5/135 923s ok 138 /checksum/MD5/136 923s ok 139 /checksum/MD5/137 923s ok 140 /checksum/MD5/138 923s ok 141 /checksum/MD5/139 923s ok 142 /checksum/MD5/140 923s ok 143 /checksum/MD5/141 923s ok 144 /checksum/MD5/142 923s ok 145 /checksum/MD5/143 923s ok 146 /checksum/MD5/144 923s ok 147 /checksum/MD5/145 923s ok 148 /checksum/MD5/146 923s ok 149 /checksum/MD5/147 923s ok 150 /checksum/MD5/148 923s ok 151 /checksum/MD5/149 923s ok 152 /checksum/MD5/150 923s ok 153 /checksum/MD5/151 923s ok 154 /checksum/MD5/152 923s ok 155 /checksum/MD5/153 923s ok 156 /checksum/MD5/154 923s ok 157 /checksum/MD5/155 923s ok 158 /checksum/MD5/156 923s ok 159 /checksum/MD5/157 923s ok 160 /checksum/MD5/158 923s ok 161 /checksum/MD5/159 923s ok 162 /checksum/MD5/160 923s ok 163 /checksum/MD5/161 923s ok 164 /checksum/MD5/162 923s ok 165 /checksum/MD5/163 923s ok 166 /checksum/MD5/164 923s ok 167 /checksum/MD5/165 923s ok 168 /checksum/MD5/166 923s ok 169 /checksum/MD5/167 923s ok 170 /checksum/MD5/168 923s ok 171 /checksum/MD5/169 923s ok 172 /checksum/MD5/170 923s ok 173 /checksum/MD5/171 923s ok 174 /checksum/MD5/172 923s ok 175 /checksum/MD5/173 923s ok 176 /checksum/MD5/174 923s ok 177 /checksum/MD5/175 923s ok 178 /checksum/MD5/176 923s ok 179 /checksum/MD5/177 923s ok 180 /checksum/MD5/178 923s ok 181 /checksum/MD5/179 923s ok 182 /checksum/MD5/180 923s ok 183 /checksum/MD5/181 923s ok 184 /checksum/MD5/182 923s ok 185 /checksum/MD5/183 923s ok 186 /checksum/MD5/string 923s ok 187 /checksum/MD5/bytes 923s # Start of reset tests 923s ok 188 /checksum/MD5/reset/0 923s ok 189 /checksum/MD5/reset/1 923s ok 190 /checksum/MD5/reset/2 923s ok 191 /checksum/MD5/reset/3 923s ok 192 /checksum/MD5/reset/4 923s ok 193 /checksum/MD5/reset/5 923s ok 194 /checksum/MD5/reset/6 923s ok 195 /checksum/MD5/reset/7 923s ok 196 /checksum/MD5/reset/8 923s ok 197 /checksum/MD5/reset/9 923s ok 198 /checksum/MD5/reset/10 923s ok 199 /checksum/MD5/reset/11 923s ok 200 /checksum/MD5/reset/12 923s ok 201 /checksum/MD5/reset/13 923s ok 202 /checksum/MD5/reset/14 923s ok 203 /checksum/MD5/reset/15 923s ok 204 /checksum/MD5/reset/16 923s ok 205 /checksum/MD5/reset/17 923s ok 206 /checksum/MD5/reset/18 923s ok 207 /checksum/MD5/reset/19 923s ok 208 /checksum/MD5/reset/20 923s ok 209 /checksum/MD5/reset/21 923s ok 210 /checksum/MD5/reset/22 923s ok 211 /checksum/MD5/reset/23 923s ok 212 /checksum/MD5/reset/24 923s ok 213 /checksum/MD5/reset/25 923s ok 214 /checksum/MD5/reset/26 923s ok 215 /checksum/MD5/reset/27 923s ok 216 /checksum/MD5/reset/28 923s ok 217 /checksum/MD5/reset/29 923s ok 218 /checksum/MD5/reset/30 923s ok 219 /checksum/MD5/reset/31 923s ok 220 /checksum/MD5/reset/32 923s ok 221 /checksum/MD5/reset/33 923s ok 222 /checksum/MD5/reset/34 923s ok 223 /checksum/MD5/reset/35 923s ok 224 /checksum/MD5/reset/36 923s ok 225 /checksum/MD5/reset/37 923s ok 226 /checksum/MD5/reset/38 923s ok 227 /checksum/MD5/reset/39 923s ok 228 /checksum/MD5/reset/40 923s ok 229 /checksum/MD5/reset/41 923s ok 230 /checksum/MD5/reset/42 923s ok 231 /checksum/MD5/reset/43 923s ok 232 /checksum/MD5/reset/44 923s ok 233 /checksum/MD5/reset/45 923s ok 234 /checksum/MD5/reset/46 923s ok 235 /checksum/MD5/reset/47 923s ok 236 /checksum/MD5/reset/48 923s ok 237 /checksum/MD5/reset/49 923s ok 238 /checksum/MD5/reset/50 923s ok 239 /checksum/MD5/reset/51 923s ok 240 /checksum/MD5/reset/52 923s ok 241 /checksum/MD5/reset/53 923s ok 242 /checksum/MD5/reset/54 923s ok 243 /checksum/MD5/reset/55 923s ok 244 /checksum/MD5/reset/56 923s ok 245 /checksum/MD5/reset/57 923s ok 246 /checksum/MD5/reset/58 923s ok 247 /checksum/MD5/reset/59 923s ok 248 /checksum/MD5/reset/60 923s ok 249 /checksum/MD5/reset/61 923s ok 250 /checksum/MD5/reset/62 923s ok 251 /checksum/MD5/reset/63 923s ok 252 /checksum/MD5/reset/64 923s ok 253 /checksum/MD5/reset/65 923s ok 254 /checksum/MD5/reset/66 923s ok 255 /checksum/MD5/reset/67 923s ok 256 /checksum/MD5/reset/68 923s ok 257 /checksum/MD5/reset/69 923s ok 258 /checksum/MD5/reset/70 923s ok 259 /checksum/MD5/reset/71 923s ok 260 /checksum/MD5/reset/72 923s ok 261 /checksum/MD5/reset/73 923s ok 262 /checksum/MD5/reset/74 923s ok 263 /checksum/MD5/reset/75 923s ok 264 /checksum/MD5/reset/76 923s ok 265 /checksum/MD5/reset/77 923s ok 266 /checksum/MD5/reset/78 923s ok 267 /checksum/MD5/reset/79 923s ok 268 /checksum/MD5/reset/80 923s ok 269 /checksum/MD5/reset/81 923s ok 270 /checksum/MD5/reset/82 923s ok 271 /checksum/MD5/reset/83 923s ok 272 /checksum/MD5/reset/84 923s ok 273 /checksum/MD5/reset/85 923s ok 274 /checksum/MD5/reset/86 923s ok 275 /checksum/MD5/reset/87 923s ok 276 /checksum/MD5/reset/88 923s ok 277 /checksum/MD5/reset/89 923s ok 278 /checksum/MD5/reset/90 923s ok 279 /checksum/MD5/reset/91 923s ok 280 /checksum/MD5/reset/92 923s ok 281 /checksum/MD5/reset/93 923s ok 282 /checksum/MD5/reset/94 923s ok 283 /checksum/MD5/reset/95 923s ok 284 /checksum/MD5/reset/96 923s ok 285 /checksum/MD5/reset/97 923s ok 286 /checksum/MD5/reset/98 923s ok 287 /checksum/MD5/reset/99 923s ok 288 /checksum/MD5/reset/100 923s ok 289 /checksum/MD5/reset/101 923s ok 290 /checksum/MD5/reset/102 923s ok 291 /checksum/MD5/reset/103 923s ok 292 /checksum/MD5/reset/104 923s ok 293 /checksum/MD5/reset/105 923s ok 294 /checksum/MD5/reset/106 923s ok 295 /checksum/MD5/reset/107 923s ok 296 /checksum/MD5/reset/108 923s ok 297 /checksum/MD5/reset/109 923s ok 298 /checksum/MD5/reset/110 923s ok 299 /checksum/MD5/reset/111 923s ok 300 /checksum/MD5/reset/112 923s ok 301 /checksum/MD5/reset/113 923s ok 302 /checksum/MD5/reset/114 923s ok 303 /checksum/MD5/reset/115 923s ok 304 /checksum/MD5/reset/116 923s ok 305 /checksum/MD5/reset/117 923s ok 306 /checksum/MD5/reset/118 923s ok 307 /checksum/MD5/reset/119 923s ok 308 /checksum/MD5/reset/120 923s ok 309 /checksum/MD5/reset/121 923s ok 310 /checksum/MD5/reset/122 923s ok 311 /checksum/MD5/reset/123 923s ok 312 /checksum/MD5/reset/124 923s ok 313 /checksum/MD5/reset/125 923s ok 314 /checksum/MD5/reset/126 923s ok 315 /checksum/MD5/reset/127 923s ok 316 /checksum/MD5/reset/128 923s ok 317 /checksum/MD5/reset/129 923s ok 318 /checksum/MD5/reset/130 923s ok 319 /checksum/MD5/reset/131 923s ok 320 /checksum/MD5/reset/132 923s ok 321 /checksum/MD5/reset/133 923s ok 322 /checksum/MD5/reset/134 923s ok 323 /checksum/MD5/reset/135 923s ok 324 /checksum/MD5/reset/136 923s ok 325 /checksum/MD5/reset/137 923s ok 326 /checksum/MD5/reset/138 923s ok 327 /checksum/MD5/reset/139 923s ok 328 /checksum/MD5/reset/140 923s ok 329 /checksum/MD5/reset/141 923s ok 330 /checksum/MD5/reset/142 923s ok 331 /checksum/MD5/reset/143 923s ok 332 /checksum/MD5/reset/144 923s ok 333 /checksum/MD5/reset/145 923s ok 334 /checksum/MD5/reset/146 923s ok 335 /checksum/MD5/reset/147 923s ok 336 /checksum/MD5/reset/148 923s ok 337 /checksum/MD5/reset/149 923s ok 338 /checksum/MD5/reset/150 923s ok 339 /checksum/MD5/reset/151 923s ok 340 /checksum/MD5/reset/152 923s ok 341 /checksum/MD5/reset/153 923s ok 342 /checksum/MD5/reset/154 923s ok 343 /checksum/MD5/reset/155 923s ok 344 /checksum/MD5/reset/156 923s ok 345 /checksum/MD5/reset/157 923s ok 346 /checksum/MD5/reset/158 923s ok 347 /checksum/MD5/reset/159 923s ok 348 /checksum/MD5/reset/160 923s ok 349 /checksum/MD5/reset/161 923s ok 350 /checksum/MD5/reset/162 923s ok 351 /checksum/MD5/reset/163 923s ok 352 /checksum/MD5/reset/164 923s ok 353 /checksum/MD5/reset/165 923s ok 354 /checksum/MD5/reset/166 923s ok 355 /checksum/MD5/reset/167 923s ok 356 /checksum/MD5/reset/168 923s ok 357 /checksum/MD5/reset/169 923s ok 358 /checksum/MD5/reset/170 923s ok 359 /checksum/MD5/reset/171 923s ok 360 /checksum/MD5/reset/172 923s ok 361 /checksum/MD5/reset/173 923s ok 362 /checksum/MD5/reset/174 923s ok 363 /checksum/MD5/reset/175 923s ok 364 /checksum/MD5/reset/176 923s ok 365 /checksum/MD5/reset/177 923s ok 366 /checksum/MD5/reset/178 923s ok 367 /checksum/MD5/reset/179 923s ok 368 /checksum/MD5/reset/180 923s ok 369 /checksum/MD5/reset/181 923s ok 370 /checksum/MD5/reset/182 923s ok 371 /checksum/MD5/reset/183 923s # End of reset tests 923s # End of MD5 tests 923s # Start of SHA1 tests 923s ok 372 /checksum/SHA1/0 923s ok 373 /checksum/SHA1/1 923s ok 374 /checksum/SHA1/2 923s ok 375 /checksum/SHA1/3 923s ok 376 /checksum/SHA1/4 923s ok 377 /checksum/SHA1/5 923s ok 378 /checksum/SHA1/6 923s ok 379 /checksum/SHA1/7 923s ok 380 /checksum/SHA1/8 923s ok 381 /checksum/SHA1/9 923s ok 382 /checksum/SHA1/10 923s ok 383 /checksum/SHA1/11 923s ok 384 /checksum/SHA1/12 923s ok 385 /checksum/SHA1/13 923s ok 386 /checksum/SHA1/14 923s ok 387 /checksum/SHA1/15 923s ok 388 /checksum/SHA1/16 923s ok 389 /checksum/SHA1/17 923s ok 390 /checksum/SHA1/18 923s ok 391 /checksum/SHA1/19 923s ok 392 /checksum/SHA1/20 923s ok 393 /checksum/SHA1/21 923s ok 394 /checksum/SHA1/22 923s ok 395 /checksum/SHA1/23 923s ok 396 /checksum/SHA1/24 923s ok 397 /checksum/SHA1/25 923s ok 398 /checksum/SHA1/26 923s ok 399 /checksum/SHA1/27 923s ok 400 /checksum/SHA1/28 923s ok 401 /checksum/SHA1/29 923s ok 402 /checksum/SHA1/30 923s ok 403 /checksum/SHA1/31 923s ok 404 /checksum/SHA1/32 923s ok 405 /checksum/SHA1/33 923s ok 406 /checksum/SHA1/34 923s ok 407 /checksum/SHA1/35 923s ok 408 /checksum/SHA1/36 923s ok 409 /checksum/SHA1/37 923s ok 410 /checksum/SHA1/38 923s ok 411 /checksum/SHA1/39 923s ok 412 /checksum/SHA1/40 923s ok 413 /checksum/SHA1/41 923s ok 414 /checksum/SHA1/42 923s ok 415 /checksum/SHA1/43 923s ok 416 /checksum/SHA1/44 923s ok 417 /checksum/SHA1/45 923s ok 418 /checksum/SHA1/46 923s ok 419 /checksum/SHA1/47 923s ok 420 /checksum/SHA1/48 923s ok 421 /checksum/SHA1/49 923s ok 422 /checksum/SHA1/50 923s ok 423 /checksum/SHA1/51 923s ok 424 /checksum/SHA1/52 923s ok 425 /checksum/SHA1/53 923s ok 426 /checksum/SHA1/54 923s ok 427 /checksum/SHA1/55 923s ok 428 /checksum/SHA1/56 923s ok 429 /checksum/SHA1/57 923s ok 430 /checksum/SHA1/58 923s ok 431 /checksum/SHA1/59 923s ok 432 /checksum/SHA1/60 923s ok 433 /checksum/SHA1/61 923s ok 434 /checksum/SHA1/62 923s ok 435 /checksum/SHA1/63 923s ok 436 /checksum/SHA1/64 923s ok 437 /checksum/SHA1/65 923s ok 438 /checksum/SHA1/66 923s ok 439 /checksum/SHA1/67 923s ok 440 /checksum/SHA1/68 923s ok 441 /checksum/SHA1/69 923s ok 442 /checksum/SHA1/70 923s ok 443 /checksum/SHA1/71 923s ok 444 /checksum/SHA1/72 923s ok 445 /checksum/SHA1/73 923s ok 446 /checksum/SHA1/74 923s ok 447 /checksum/SHA1/75 923s ok 448 /checksum/SHA1/76 923s ok 449 /checksum/SHA1/77 923s ok 450 /checksum/SHA1/78 923s ok 451 /checksum/SHA1/79 923s ok 452 /checksum/SHA1/80 923s ok 453 /checksum/SHA1/81 923s ok 454 /checksum/SHA1/82 923s ok 455 /checksum/SHA1/83 923s ok 456 /checksum/SHA1/84 923s ok 457 /checksum/SHA1/85 923s ok 458 /checksum/SHA1/86 923s ok 459 /checksum/SHA1/87 923s ok 460 /checksum/SHA1/88 923s ok 461 /checksum/SHA1/89 923s ok 462 /checksum/SHA1/90 923s ok 463 /checksum/SHA1/91 923s ok 464 /checksum/SHA1/92 923s ok 465 /checksum/SHA1/93 923s ok 466 /checksum/SHA1/94 923s ok 467 /checksum/SHA1/95 923s ok 468 /checksum/SHA1/96 923s ok 469 /checksum/SHA1/97 923s ok 470 /checksum/SHA1/98 923s ok 471 /checksum/SHA1/99 923s ok 472 /checksum/SHA1/100 923s ok 473 /checksum/SHA1/101 923s ok 474 /checksum/SHA1/102 923s ok 475 /checksum/SHA1/103 923s ok 476 /checksum/SHA1/104 923s ok 477 /checksum/SHA1/105 923s ok 478 /checksum/SHA1/106 923s ok 479 /checksum/SHA1/107 923s ok 480 /checksum/SHA1/108 923s ok 481 /checksum/SHA1/109 923s ok 482 /checksum/SHA1/110 923s ok 483 /checksum/SHA1/111 923s ok 484 /checksum/SHA1/112 923s ok 485 /checksum/SHA1/113 923s ok 486 /checksum/SHA1/114 923s ok 487 /checksum/SHA1/115 923s ok 488 /checksum/SHA1/116 923s ok 489 /checksum/SHA1/117 923s ok 490 /checksum/SHA1/118 923s ok 491 /checksum/SHA1/119 923s ok 492 /checksum/SHA1/120 923s ok 493 /checksum/SHA1/121 923s ok 494 /checksum/SHA1/122 923s ok 495 /checksum/SHA1/123 923s ok 496 /checksum/SHA1/124 923s ok 497 /checksum/SHA1/125 923s ok 498 /checksum/SHA1/126 923s ok 499 /checksum/SHA1/127 923s ok 500 /checksum/SHA1/128 923s ok 501 /checksum/SHA1/129 923s ok 502 /checksum/SHA1/130 923s ok 503 /checksum/SHA1/131 923s ok 504 /checksum/SHA1/132 923s ok 505 /checksum/SHA1/133 923s ok 506 /checksum/SHA1/134 923s ok 507 /checksum/SHA1/135 923s ok 508 /checksum/SHA1/136 923s ok 509 /checksum/SHA1/137 923s ok 510 /checksum/SHA1/138 923s ok 511 /checksum/SHA1/139 923s ok 512 /checksum/SHA1/140 923s ok 513 /checksum/SHA1/141 923s ok 514 /checksum/SHA1/142 923s ok 515 /checksum/SHA1/143 923s ok 516 /checksum/SHA1/144 923s ok 517 /checksum/SHA1/145 923s ok 518 /checksum/SHA1/146 923s ok 519 /checksum/SHA1/147 923s ok 520 /checksum/SHA1/148 923s ok 521 /checksum/SHA1/149 923s ok 522 /checksum/SHA1/150 923s ok 523 /checksum/SHA1/151 923s ok 524 /checksum/SHA1/152 923s ok 525 /checksum/SHA1/153 923s ok 526 /checksum/SHA1/154 923s ok 527 /checksum/SHA1/155 923s ok 528 /checksum/SHA1/156 923s ok 529 /checksum/SHA1/157 923s ok 530 /checksum/SHA1/158 923s ok 531 /checksum/SHA1/159 923s ok 532 /checksum/SHA1/160 923s ok 533 /checksum/SHA1/161 923s ok 534 /checksum/SHA1/162 923s ok 535 /checksum/SHA1/163 923s ok 536 /checksum/SHA1/164 923s ok 537 /checksum/SHA1/165 923s ok 538 /checksum/SHA1/166 923s ok 539 /checksum/SHA1/167 923s ok 540 /checksum/SHA1/168 923s ok 541 /checksum/SHA1/169 923s ok 542 /checksum/SHA1/170 923s ok 543 /checksum/SHA1/171 923s ok 544 /checksum/SHA1/172 923s ok 545 /checksum/SHA1/173 923s ok 546 /checksum/SHA1/174 923s ok 547 /checksum/SHA1/175 923s ok 548 /checksum/SHA1/176 923s ok 549 /checksum/SHA1/177 923s ok 550 /checksum/SHA1/178 923s ok 551 /checksum/SHA1/179 923s ok 552 /checksum/SHA1/180 923s ok 553 /checksum/SHA1/181 923s ok 554 /checksum/SHA1/182 923s ok 555 /checksum/SHA1/183 923s ok 556 /checksum/SHA1/string 923s ok 557 /checksum/SHA1/bytes 923s # Start of reset tests 923s ok 558 /checksum/SHA1/reset/0 923s ok 559 /checksum/SHA1/reset/1 923s ok 560 /checksum/SHA1/reset/2 923s ok 561 /checksum/SHA1/reset/3 923s ok 562 /checksum/SHA1/reset/4 923s ok 563 /checksum/SHA1/reset/5 923s ok 564 /checksum/SHA1/reset/6 923s ok 565 /checksum/SHA1/reset/7 923s ok 566 /checksum/SHA1/reset/8 923s ok 567 /checksum/SHA1/reset/9 923s ok 568 /checksum/SHA1/reset/10 923s ok 569 /checksum/SHA1/reset/11 923s ok 570 /checksum/SHA1/reset/12 923s ok 571 /checksum/SHA1/reset/13 923s ok 572 /checksum/SHA1/reset/14 923s ok 573 /checksum/SHA1/reset/15 923s ok 574 /checksum/SHA1/reset/16 923s ok 575 /checksum/SHA1/reset/17 923s ok 576 /checksum/SHA1/reset/18 923s ok 577 /checksum/SHA1/reset/19 923s ok 578 /checksum/SHA1/reset/20 923s ok 579 /checksum/SHA1/reset/21 923s ok 580 /checksum/SHA1/reset/22 923s ok 581 /checksum/SHA1/reset/23 923s ok 582 /checksum/SHA1/reset/24 923s ok 583 /checksum/SHA1/reset/25 923s ok 584 /checksum/SHA1/reset/26 923s ok 585 /checksum/SHA1/reset/27 923s ok 586 /checksum/SHA1/reset/28 923s ok 587 /checksum/SHA1/reset/29 923s ok 588 /checksum/SHA1/reset/30 923s ok 589 /checksum/SHA1/reset/31 923s ok 590 /checksum/SHA1/reset/32 923s ok 591 /checksum/SHA1/reset/33 923s ok 592 /checksum/SHA1/reset/34 923s ok 593 /checksum/SHA1/reset/35 923s ok 594 /checksum/SHA1/reset/36 923s ok 595 /checksum/SHA1/reset/37 923s ok 596 /checksum/SHA1/reset/38 923s ok 597 /checksum/SHA1/reset/39 923s ok 598 /checksum/SHA1/reset/40 923s ok 599 /checksum/SHA1/reset/41 923s ok 600 /checksum/SHA1/reset/42 923s ok 601 /checksum/SHA1/reset/43 923s ok 602 /checksum/SHA1/reset/44 923s ok 603 /checksum/SHA1/reset/45 923s ok 604 /checksum/SHA1/reset/46 923s ok 605 /checksum/SHA1/reset/47 923s ok 606 /checksum/SHA1/reset/48 923s ok 607 /checksum/SHA1/reset/49 923s ok 608 /checksum/SHA1/reset/50 923s ok 609 /checksum/SHA1/reset/51 923s ok 610 /checksum/SHA1/reset/52 923s ok 611 /checksum/SHA1/reset/53 923s ok 612 /checksum/SHA1/reset/54 923s ok 613 /checksum/SHA1/reset/55 923s ok 614 /checksum/SHA1/reset/56 923s ok 615 /checksum/SHA1/reset/57 923s ok 616 /checksum/SHA1/reset/58 923s ok 617 /checksum/SHA1/reset/59 923s ok 618 /checksum/SHA1/reset/60 923s ok 619 /checksum/SHA1/reset/61 923s ok 620 /checksum/SHA1/reset/62 923s ok 621 /checksum/SHA1/reset/63 923s ok 622 /checksum/SHA1/reset/64 923s ok 623 /checksum/SHA1/reset/65 923s ok 624 /checksum/SHA1/reset/66 923s ok 625 /checksum/SHA1/reset/67 923s ok 626 /checksum/SHA1/reset/68 923s ok 627 /checksum/SHA1/reset/69 923s ok 628 /checksum/SHA1/reset/70 923s ok 629 /checksum/SHA1/reset/71 923s ok 630 /checksum/SHA1/reset/72 923s ok 631 /checksum/SHA1/reset/73 923s ok 632 /checksum/SHA1/reset/74 923s ok 633 /checksum/SHA1/reset/75 923s ok 634 /checksum/SHA1/reset/76 923s ok 635 /checksum/SHA1/reset/77 923s ok 636 /checksum/SHA1/reset/78 923s ok 637 /checksum/SHA1/reset/79 923s ok 638 /checksum/SHA1/reset/80 923s ok 639 /checksum/SHA1/reset/81 923s ok 640 /checksum/SHA1/reset/82 923s ok 641 /checksum/SHA1/reset/83 923s ok 642 /checksum/SHA1/reset/84 923s ok 643 /checksum/SHA1/reset/85 923s ok 644 /checksum/SHA1/reset/86 923s ok 645 /checksum/SHA1/reset/87 923s ok 646 /checksum/SHA1/reset/88 923s ok 647 /checksum/SHA1/reset/89 923s ok 648 /checksum/SHA1/reset/90 923s ok 649 /checksum/SHA1/reset/91 923s ok 650 /checksum/SHA1/reset/92 923s ok 651 /checksum/SHA1/reset/93 923s ok 652 /checksum/SHA1/reset/94 923s ok 653 /checksum/SHA1/reset/95 923s ok 654 /checksum/SHA1/reset/96 923s ok 655 /checksum/SHA1/reset/97 923s ok 656 /checksum/SHA1/reset/98 923s ok 657 /checksum/SHA1/reset/99 923s ok 658 /checksum/SHA1/reset/100 923s ok 659 /checksum/SHA1/reset/101 923s ok 660 /checksum/SHA1/reset/102 923s ok 661 /checksum/SHA1/reset/103 923s ok 662 /checksum/SHA1/reset/104 923s ok 663 /checksum/SHA1/reset/105 923s ok 664 /checksum/SHA1/reset/106 923s ok 665 /checksum/SHA1/reset/107 923s ok 666 /checksum/SHA1/reset/108 923s ok 667 /checksum/SHA1/reset/109 923s ok 668 /checksum/SHA1/reset/110 923s ok 669 /checksum/SHA1/reset/111 923s ok 670 /checksum/SHA1/reset/112 923s ok 671 /checksum/SHA1/reset/113 923s ok 672 /checksum/SHA1/reset/114 923s ok 673 /checksum/SHA1/reset/115 923s ok 674 /checksum/SHA1/reset/116 923s ok 675 /checksum/SHA1/reset/117 923s ok 676 /checksum/SHA1/reset/118 923s ok 677 /checksum/SHA1/reset/119 923s ok 678 /checksum/SHA1/reset/120 923s ok 679 /checksum/SHA1/reset/121 923s ok 680 /checksum/SHA1/reset/122 923s ok 681 /checksum/SHA1/reset/123 923s ok 682 /checksum/SHA1/reset/124 923s ok 683 /checksum/SHA1/reset/125 923s ok 684 /checksum/SHA1/reset/126 923s ok 685 /checksum/SHA1/reset/127 923s ok 686 /checksum/SHA1/reset/128 923s ok 687 /checksum/SHA1/reset/129 923s ok 688 /checksum/SHA1/reset/130 923s ok 689 /checksum/SHA1/reset/131 923s ok 690 /checksum/SHA1/reset/132 923s ok 691 /checksum/SHA1/reset/133 923s ok 692 /checksum/SHA1/reset/134 923s ok 693 /checksum/SHA1/reset/135 923s ok 694 /checksum/SHA1/reset/136 923s ok 695 /checksum/SHA1/reset/137 923s ok 696 /checksum/SHA1/reset/138 923s ok 697 /checksum/SHA1/reset/139 923s ok 698 /checksum/SHA1/reset/140 923s ok 699 /checksum/SHA1/reset/141 923s ok 700 /checksum/SHA1/reset/142 923s ok 701 /checksum/SHA1/reset/143 923s ok 702 /checksum/SHA1/reset/144 923s ok 703 /checksum/SHA1/reset/145 923s ok 704 /checksum/SHA1/reset/146 923s ok 705 /checksum/SHA1/reset/147 923s ok 706 /checksum/SHA1/reset/148 923s ok 707 /checksum/SHA1/reset/149 923s ok 708 /checksum/SHA1/reset/150 923s ok 709 /checksum/SHA1/reset/151 923s ok 710 /checksum/SHA1/reset/152 923s ok 711 /checksum/SHA1/reset/153 923s ok 712 /checksum/SHA1/reset/154 923s ok 713 /checksum/SHA1/reset/155 923s ok 714 /checksum/SHA1/reset/156 923s ok 715 /checksum/SHA1/reset/157 923s ok 716 /checksum/SHA1/reset/158 923s ok 717 /checksum/SHA1/reset/159 923s ok 718 /checksum/SHA1/reset/160 923s ok 719 /checksum/SHA1/reset/161 923s ok 720 /checksum/SHA1/reset/162 923s ok 721 /checksum/SHA1/reset/163 923s ok 722 /checksum/SHA1/reset/164 923s ok 723 /checksum/SHA1/reset/165 923s ok 724 /checksum/SHA1/reset/166 923s ok 725 /checksum/SHA1/reset/167 923s ok 726 /checksum/SHA1/reset/168 923s ok 727 /checksum/SHA1/reset/169 923s ok 728 /checksum/SHA1/reset/170 923s ok 729 /checksum/SHA1/reset/171 923s ok 730 /checksum/SHA1/reset/172 923s ok 731 /checksum/SHA1/reset/173 923s ok 732 /checksum/SHA1/reset/174 923s ok 733 /checksum/SHA1/reset/175 923s ok 734 /checksum/SHA1/reset/176 923s ok 735 /checksum/SHA1/reset/177 923s ok 736 /checksum/SHA1/reset/178 923s ok 737 /checksum/SHA1/reset/179 923s ok 738 /checksum/SHA1/reset/180 923s ok 739 /checksum/SHA1/reset/181 923s ok 740 /checksum/SHA1/reset/182 923s ok 741 /checksum/SHA1/reset/183 923s # End of reset tests 923s # End of SHA1 tests 923s # Start of SHA256 tests 923s ok 742 /checksum/SHA256/0 923s ok 743 /checksum/SHA256/1 923s ok 744 /checksum/SHA256/2 923s ok 745 /checksum/SHA256/3 923s ok 746 /checksum/SHA256/4 923s ok 747 /checksum/SHA256/5 923s ok 748 /checksum/SHA256/6 923s ok 749 /checksum/SHA256/7 923s ok 750 /checksum/SHA256/8 923s ok 751 /checksum/SHA256/9 923s ok 752 /checksum/SHA256/10 923s ok 753 /checksum/SHA256/11 923s ok 754 /checksum/SHA256/12 923s ok 755 /checksum/SHA256/13 923s ok 756 /checksum/SHA256/14 923s ok 757 /checksum/SHA256/15 923s ok 758 /checksum/SHA256/16 923s ok 759 /checksum/SHA256/17 923s ok 760 /checksum/SHA256/18 923s ok 761 /checksum/SHA256/19 923s ok 762 /checksum/SHA256/20 923s ok 763 /checksum/SHA256/21 923s ok 764 /checksum/SHA256/22 923s ok 765 /checksum/SHA256/23 923s ok 766 /checksum/SHA256/24 923s ok 767 /checksum/SHA256/25 923s ok 768 /checksum/SHA256/26 923s ok 769 /checksum/SHA256/27 923s ok 770 /checksum/SHA256/28 923s ok 771 /checksum/SHA256/29 923s ok 772 /checksum/SHA256/30 923s ok 773 /checksum/SHA256/31 923s ok 774 /checksum/SHA256/32 923s ok 775 /checksum/SHA256/33 923s ok 776 /checksum/SHA256/34 923s ok 777 /checksum/SHA256/35 923s ok 778 /checksum/SHA256/36 923s ok 779 /checksum/SHA256/37 923s ok 780 /checksum/SHA256/38 923s ok 781 /checksum/SHA256/39 923s ok 782 /checksum/SHA256/40 923s ok 783 /checksum/SHA256/41 923s ok 784 /checksum/SHA256/42 923s ok 785 /checksum/SHA256/43 923s ok 786 /checksum/SHA256/44 923s ok 787 /checksum/SHA256/45 923s ok 788 /checksum/SHA256/46 923s ok 789 /checksum/SHA256/47 923s ok 790 /checksum/SHA256/48 923s ok 791 /checksum/SHA256/49 923s ok 792 /checksum/SHA256/50 923s ok 793 /checksum/SHA256/51 923s ok 794 /checksum/SHA256/52 923s ok 795 /checksum/SHA256/53 923s ok 796 /checksum/SHA256/54 923s ok 797 /checksum/SHA256/55 923s ok 798 /checksum/SHA256/56 923s ok 799 /checksum/SHA256/57 923s ok 800 /checksum/SHA256/58 923s ok 801 /checksum/SHA256/59 923s ok 802 /checksum/SHA256/60 923s ok 803 /checksum/SHA256/61 923s ok 804 /checksum/SHA256/62 923s ok 805 /checksum/SHA256/63 923s ok 806 /checksum/SHA256/64 923s ok 807 /checksum/SHA256/65 923s ok 808 /checksum/SHA256/66 923s ok 809 /checksum/SHA256/67 923s ok 810 /checksum/SHA256/68 923s ok 811 /checksum/SHA256/69 923s ok 812 /checksum/SHA256/70 923s ok 813 /checksum/SHA256/71 923s ok 814 /checksum/SHA256/72 923s ok 815 /checksum/SHA256/73 923s ok 816 /checksum/SHA256/74 923s ok 817 /checksum/SHA256/75 923s ok 818 /checksum/SHA256/76 923s ok 819 /checksum/SHA256/77 923s ok 820 /checksum/SHA256/78 923s ok 821 /checksum/SHA256/79 923s ok 822 /checksum/SHA256/80 923s ok 823 /checksum/SHA256/81 923s ok 824 /checksum/SHA256/82 923s ok 825 /checksum/SHA256/83 923s ok 826 /checksum/SHA256/84 923s ok 827 /checksum/SHA256/85 923s ok 828 /checksum/SHA256/86 923s ok 829 /checksum/SHA256/87 923s ok 830 /checksum/SHA256/88 923s ok 831 /checksum/SHA256/89 923s ok 832 /checksum/SHA256/90 923s ok 833 /checksum/SHA256/91 923s ok 834 /checksum/SHA256/92 923s ok 835 /checksum/SHA256/93 923s ok 836 /checksum/SHA256/94 923s ok 837 /checksum/SHA256/95 923s ok 838 /checksum/SHA256/96 923s ok 839 /checksum/SHA256/97 923s ok 840 /checksum/SHA256/98 923s ok 841 /checksum/SHA256/99 923s ok 842 /checksum/SHA256/100 923s ok 843 /checksum/SHA256/101 923s ok 844 /checksum/SHA256/102 923s ok 845 /checksum/SHA256/103 923s ok 846 /checksum/SHA256/104 923s ok 847 /checksum/SHA256/105 923s ok 848 /checksum/SHA256/106 923s ok 849 /checksum/SHA256/107 923s ok 850 /checksum/SHA256/108 923s ok 851 /checksum/SHA256/109 923s ok 852 /checksum/SHA256/110 923s ok 853 /checksum/SHA256/111 923s ok 854 /checksum/SHA256/112 923s ok 855 /checksum/SHA256/113 923s ok 856 /checksum/SHA256/114 923s ok 857 /checksum/SHA256/115 923s ok 858 /checksum/SHA256/116 923s ok 859 /checksum/SHA256/117 923s ok 860 /checksum/SHA256/118 923s ok 861 /checksum/SHA256/119 923s ok 862 /checksum/SHA256/120 923s ok 863 /checksum/SHA256/121 923s ok 864 /checksum/SHA256/122 923s ok 865 /checksum/SHA256/123 923s ok 866 /checksum/SHA256/124 923s ok 867 /checksum/SHA256/125 923s ok 868 /checksum/SHA256/126 923s ok 869 /checksum/SHA256/127 923s ok 870 /checksum/SHA256/128 923s ok 871 /checksum/SHA256/129 923s ok 872 /checksum/SHA256/130 923s ok 873 /checksum/SHA256/131 923s ok 874 /checksum/SHA256/132 923s ok 875 /checksum/SHA256/133 923s ok 876 /checksum/SHA256/134 923s ok 877 /checksum/SHA256/135 923s ok 878 /checksum/SHA256/136 923s ok 879 /checksum/SHA256/137 923s ok 880 /checksum/SHA256/138 923s ok 881 /checksum/SHA256/139 923s ok 882 /checksum/SHA256/140 923s ok 883 /checksum/SHA256/141 923s ok 884 /checksum/SHA256/142 923s ok 885 /checksum/SHA256/143 923s ok 886 /checksum/SHA256/144 923s ok 887 /checksum/SHA256/145 923s ok 888 /checksum/SHA256/146 923s ok 889 /checksum/SHA256/147 923s ok 890 /checksum/SHA256/148 923s ok 891 /checksum/SHA256/149 923s ok 892 /checksum/SHA256/150 923s ok 893 /checksum/SHA256/151 923s ok 894 /checksum/SHA256/152 923s ok 895 /checksum/SHA256/153 923s ok 896 /checksum/SHA256/154 923s ok 897 /checksum/SHA256/155 923s ok 898 /checksum/SHA256/156 923s ok 899 /checksum/SHA256/157 923s ok 900 /checksum/SHA256/158 923s ok 901 /checksum/SHA256/159 923s ok 902 /checksum/SHA256/160 923s ok 903 /checksum/SHA256/161 923s ok 904 /checksum/SHA256/162 923s ok 905 /checksum/SHA256/163 923s ok 906 /checksum/SHA256/164 923s ok 907 /checksum/SHA256/165 923s ok 908 /checksum/SHA256/166 923s ok 909 /checksum/SHA256/167 923s ok 910 /checksum/SHA256/168 923s ok 911 /checksum/SHA256/169 923s ok 912 /checksum/SHA256/170 923s ok 913 /checksum/SHA256/171 923s ok 914 /checksum/SHA256/172 923s ok 915 /checksum/SHA256/173 923s ok 916 /checksum/SHA256/174 923s ok 917 /checksum/SHA256/175 923s ok 918 /checksum/SHA256/176 923s ok 919 /checksum/SHA256/177 923s ok 920 /checksum/SHA256/178 923s ok 921 /checksum/SHA256/179 923s ok 922 /checksum/SHA256/180 923s ok 923 /checksum/SHA256/181 923s ok 924 /checksum/SHA256/182 923s ok 925 /checksum/SHA256/183 923s ok 926 /checksum/SHA256/string 923s ok 927 /checksum/SHA256/bytes 923s # Start of reset tests 923s ok 928 /checksum/SHA256/reset/0 923s ok 929 /checksum/SHA256/reset/1 923s ok 930 /checksum/SHA256/reset/2 923s ok 931 /checksum/SHA256/reset/3 923s ok 932 /checksum/SHA256/reset/4 923s ok 933 /checksum/SHA256/reset/5 923s ok 934 /checksum/SHA256/reset/6 923s ok 935 /checksum/SHA256/reset/7 923s ok 936 /checksum/SHA256/reset/8 923s ok 937 /checksum/SHA256/reset/9 923s ok 938 /checksum/SHA256/reset/10 923s ok 939 /checksum/SHA256/reset/11 923s ok 940 /checksum/SHA256/reset/12 923s ok 941 /checksum/SHA256/reset/13 923s ok 942 /checksum/SHA256/reset/14 923s ok 943 /checksum/SHA256/reset/15 923s ok 944 /checksum/SHA256/reset/16 923s ok 945 /checksum/SHA256/reset/17 923s ok 946 /checksum/SHA256/reset/18 923s ok 947 /checksum/SHA256/reset/19 923s ok 948 /checksum/SHA256/reset/20 923s ok 949 /checksum/SHA256/reset/21 923s ok 950 /checksum/SHA256/reset/22 923s ok 951 /checksum/SHA256/reset/23 923s ok 952 /checksum/SHA256/reset/24 923s ok 953 /checksum/SHA256/reset/25 923s ok 954 /checksum/SHA256/reset/26 923s ok 955 /checksum/SHA256/reset/27 923s ok 956 /checksum/SHA256/reset/28 923s ok 957 /checksum/SHA256/reset/29 923s ok 958 /checksum/SHA256/reset/30 923s ok 959 /checksum/SHA256/reset/31 923s ok 960 /checksum/SHA256/reset/32 923s ok 961 /checksum/SHA256/reset/33 923s ok 962 /checksum/SHA256/reset/34 923s ok 963 /checksum/SHA256/reset/35 923s ok 964 /checksum/SHA256/reset/36 923s ok 965 /checksum/SHA256/reset/37 923s ok 966 /checksum/SHA256/reset/38 923s ok 967 /checksum/SHA256/reset/39 923s ok 968 /checksum/SHA256/reset/40 923s ok 969 /checksum/SHA256/reset/41 923s ok 970 /checksum/SHA256/reset/42 923s ok 971 /checksum/SHA256/reset/43 923s ok 972 /checksum/SHA256/reset/44 923s ok 973 /checksum/SHA256/reset/45 923s ok 974 /checksum/SHA256/reset/46 923s ok 975 /checksum/SHA256/reset/47 923s ok 976 /checksum/SHA256/reset/48 923s ok 977 /checksum/SHA256/reset/49 923s ok 978 /checksum/SHA256/reset/50 923s ok 979 /checksum/SHA256/reset/51 923s ok 980 /checksum/SHA256/reset/52 923s ok 981 /checksum/SHA256/reset/53 923s ok 982 /checksum/SHA256/reset/54 923s ok 983 /checksum/SHA256/reset/55 923s ok 984 /checksum/SHA256/reset/56 923s ok 985 /checksum/SHA256/reset/57 923s ok 986 /checksum/SHA256/reset/58 923s ok 987 /checksum/SHA256/reset/59 923s ok 988 /checksum/SHA256/reset/60 923s ok 989 /checksum/SHA256/reset/61 923s ok 990 /checksum/SHA256/reset/62 923s ok 991 /checksum/SHA256/reset/63 923s ok 992 /checksum/SHA256/reset/64 923s ok 993 /checksum/SHA256/reset/65 923s ok 994 /checksum/SHA256/reset/66 923s ok 995 /checksum/SHA256/reset/67 923s ok 996 /checksum/SHA256/reset/68 923s ok 997 /checksum/SHA256/reset/69 923s ok 998 /checksum/SHA256/reset/70 923s ok 999 /checksum/SHA256/reset/71 923s ok 1000 /checksum/SHA256/reset/72 923s ok 1001 /checksum/SHA256/reset/73 923s ok 1002 /checksum/SHA256/reset/74 923s ok 1003 /checksum/SHA256/reset/75 923s ok 1004 /checksum/SHA256/reset/76 923s ok 1005 /checksum/SHA256/reset/77 923s ok 1006 /checksum/SHA256/reset/78 923s ok 1007 /checksum/SHA256/reset/79 923s ok 1008 /checksum/SHA256/reset/80 923s ok 1009 /checksum/SHA256/reset/81 923s ok 1010 /checksum/SHA256/reset/82 923s ok 1011 /checksum/SHA256/reset/83 923s ok 1012 /checksum/SHA256/reset/84 923s ok 1013 /checksum/SHA256/reset/85 923s ok 1014 /checksum/SHA256/reset/86 923s ok 1015 /checksum/SHA256/reset/87 923s ok 1016 /checksum/SHA256/reset/88 923s ok 1017 /checksum/SHA256/reset/89 923s ok 1018 /checksum/SHA256/reset/90 923s ok 1019 /checksum/SHA256/reset/91 923s ok 1020 /checksum/SHA256/reset/92 923s ok 1021 /checksum/SHA256/reset/93 923s ok 1022 /checksum/SHA256/reset/94 923s ok 1023 /checksum/SHA256/reset/95 923s ok 1024 /checksum/SHA256/reset/96 923s ok 1025 /checksum/SHA256/reset/97 923s ok 1026 /checksum/SHA256/reset/98 923s ok 1027 /checksum/SHA256/reset/99 923s ok 1028 /checksum/SHA256/reset/100 923s ok 1029 /checksum/SHA256/reset/101 923s ok 1030 /checksum/SHA256/reset/102 923s ok 1031 /checksum/SHA256/reset/103 923s ok 1032 /checksum/SHA256/reset/104 923s ok 1033 /checksum/SHA256/reset/105 923s ok 1034 /checksum/SHA256/reset/106 923s ok 1035 /checksum/SHA256/reset/107 923s ok 1036 /checksum/SHA256/reset/108 923s ok 1037 /checksum/SHA256/reset/109 923s ok 1038 /checksum/SHA256/reset/110 923s ok 1039 /checksum/SHA256/reset/111 923s ok 1040 /checksum/SHA256/reset/112 923s ok 1041 /checksum/SHA256/reset/113 923s ok 1042 /checksum/SHA256/reset/114 923s ok 1043 /checksum/SHA256/reset/115 923s ok 1044 /checksum/SHA256/reset/116 923s ok 1045 /checksum/SHA256/reset/117 923s ok 1046 /checksum/SHA256/reset/118 923s ok 1047 /checksum/SHA256/reset/119 923s ok 1048 /checksum/SHA256/reset/120 923s ok 1049 /checksum/SHA256/reset/121 923s ok 1050 /checksum/SHA256/reset/122 923s ok 1051 /checksum/SHA256/reset/123 923s ok 1052 /checksum/SHA256/reset/124 923s ok 1053 /checksum/SHA256/reset/125 923s ok 1054 /checksum/SHA256/reset/126 923s ok 1055 /checksum/SHA256/reset/127 923s ok 1056 /checksum/SHA256/reset/128 923s ok 1057 /checksum/SHA256/reset/129 923s ok 1058 /checksum/SHA256/reset/130 923s ok 1059 /checksum/SHA256/reset/131 923s ok 1060 /checksum/SHA256/reset/132 923s ok 1061 /checksum/SHA256/reset/133 923s ok 1062 /checksum/SHA256/reset/134 923s ok 1063 /checksum/SHA256/reset/135 923s ok 1064 /checksum/SHA256/reset/136 923s ok 1065 /checksum/SHA256/reset/137 923s ok 1066 /checksum/SHA256/reset/138 923s ok 1067 /checksum/SHA256/reset/139 923s ok 1068 /checksum/SHA256/reset/140 923s ok 1069 /checksum/SHA256/reset/141 923s ok 1070 /checksum/SHA256/reset/142 923s ok 1071 /checksum/SHA256/reset/143 923s ok 1072 /checksum/SHA256/reset/144 923s ok 1073 /checksum/SHA256/reset/145 923s ok 1074 /checksum/SHA256/reset/146 923s ok 1075 /checksum/SHA256/reset/147 923s ok 1076 /checksum/SHA256/reset/148 923s ok 1077 /checksum/SHA256/reset/149 923s ok 1078 /checksum/SHA256/reset/150 923s ok 1079 /checksum/SHA256/reset/151 923s ok 1080 /checksum/SHA256/reset/152 923s ok 1081 /checksum/SHA256/reset/153 923s ok 1082 /checksum/SHA256/reset/154 923s ok 1083 /checksum/SHA256/reset/155 923s ok 1084 /checksum/SHA256/reset/156 923s ok 1085 /checksum/SHA256/reset/157 923s ok 1086 /checksum/SHA256/reset/158 923s ok 1087 /checksum/SHA256/reset/159 923s ok 1088 /checksum/SHA256/reset/160 923s ok 1089 /checksum/SHA256/reset/161 923s ok 1090 /checksum/SHA256/reset/162 923s ok 1091 /checksum/SHA256/reset/163 923s ok 1092 /checksum/SHA256/reset/164 923s ok 1093 /checksum/SHA256/reset/165 923s ok 1094 /checksum/SHA256/reset/166 923s ok 1095 /checksum/SHA256/reset/167 923s ok 1096 /checksum/SHA256/reset/168 923s ok 1097 /checksum/SHA256/reset/169 923s ok 1098 /checksum/SHA256/reset/170 923s ok 1099 /checksum/SHA256/reset/171 923s ok 1100 /checksum/SHA256/reset/172 923s ok 1101 /checksum/SHA256/reset/173 923s ok 1102 /checksum/SHA256/reset/174 923s ok 1103 /checksum/SHA256/reset/175 923s ok 1104 /checksum/SHA256/reset/176 923s ok 1105 /checksum/SHA256/reset/177 923s ok 1106 /checksum/SHA256/reset/178 923s ok 1107 /checksum/SHA256/reset/179 923s ok 1108 /checksum/SHA256/reset/180 923s ok 1109 /checksum/SHA256/reset/181 923s ok 1110 /checksum/SHA256/reset/182 923s ok 1111 /checksum/SHA256/reset/183 923s # End of reset tests 923s # End of SHA256 tests 923s # Start of SHA384 tests 923s ok 1112 /checksum/SHA384/0 923s ok 1113 /checksum/SHA384/1 923s ok 1114 /checksum/SHA384/2 923s ok 1115 /checksum/SHA384/3 923s ok 1116 /checksum/SHA384/4 923s ok 1117 /checksum/SHA384/5 923s ok 1118 /checksum/SHA384/6 923s ok 1119 /checksum/SHA384/7 923s ok 1120 /checksum/SHA384/8 923s ok 1121 /checksum/SHA384/9 923s ok 1122 /checksum/SHA384/10 923s ok 1123 /checksum/SHA384/11 923s ok 1124 /checksum/SHA384/12 923s ok 1125 /checksum/SHA384/13 923s ok 1126 /checksum/SHA384/14 923s ok 1127 /checksum/SHA384/15 923s ok 1128 /checksum/SHA384/16 923s ok 1129 /checksum/SHA384/17 923s ok 1130 /checksum/SHA384/18 923s ok 1131 /checksum/SHA384/19 923s ok 1132 /checksum/SHA384/20 923s ok 1133 /checksum/SHA384/21 923s ok 1134 /checksum/SHA384/22 923s ok 1135 /checksum/SHA384/23 923s ok 1136 /checksum/SHA384/24 923s ok 1137 /checksum/SHA384/25 923s ok 1138 /checksum/SHA384/26 923s ok 1139 /checksum/SHA384/27 923s ok 1140 /checksum/SHA384/28 923s ok 1141 /checksum/SHA384/29 923s ok 1142 /checksum/SHA384/30 923s ok 1143 /checksum/SHA384/31 923s ok 1144 /checksum/SHA384/32 923s ok 1145 /checksum/SHA384/33 923s ok 1146 /checksum/SHA384/34 923s ok 1147 /checksum/SHA384/35 923s ok 1148 /checksum/SHA384/36 923s ok 1149 /checksum/SHA384/37 923s ok 1150 /checksum/SHA384/38 923s ok 1151 /checksum/SHA384/39 923s ok 1152 /checksum/SHA384/40 923s ok 1153 /checksum/SHA384/41 923s ok 1154 /checksum/SHA384/42 923s ok 1155 /checksum/SHA384/43 923s ok 1156 /checksum/SHA384/44 923s ok 1157 /checksum/SHA384/45 923s ok 1158 /checksum/SHA384/46 923s ok 1159 /checksum/SHA384/47 923s ok 1160 /checksum/SHA384/48 923s ok 1161 /checksum/SHA384/49 923s ok 1162 /checksum/SHA384/50 923s ok 1163 /checksum/SHA384/51 923s ok 1164 /checksum/SHA384/52 923s ok 1165 /checksum/SHA384/53 923s ok 1166 /checksum/SHA384/54 923s ok 1167 /checksum/SHA384/55 923s ok 1168 /checksum/SHA384/56 923s ok 1169 /checksum/SHA384/57 923s ok 1170 /checksum/SHA384/58 923s ok 1171 /checksum/SHA384/59 923s ok 1172 /checksum/SHA384/60 923s ok 1173 /checksum/SHA384/61 923s ok 1174 /checksum/SHA384/62 923s ok 1175 /checksum/SHA384/63 923s ok 1176 /checksum/SHA384/64 923s ok 1177 /checksum/SHA384/65 923s ok 1178 /checksum/SHA384/66 923s ok 1179 /checksum/SHA384/67 923s ok 1180 /checksum/SHA384/68 923s ok 1181 /checksum/SHA384/69 923s ok 1182 /checksum/SHA384/70 923s ok 1183 /checksum/SHA384/71 923s ok 1184 /checksum/SHA384/72 923s ok 1185 /checksum/SHA384/73 923s ok 1186 /checksum/SHA384/74 923s ok 1187 /checksum/SHA384/75 923s ok 1188 /checksum/SHA384/76 923s ok 1189 /checksum/SHA384/77 923s ok 1190 /checksum/SHA384/78 923s ok 1191 /checksum/SHA384/79 923s ok 1192 /checksum/SHA384/80 923s ok 1193 /checksum/SHA384/81 923s ok 1194 /checksum/SHA384/82 923s ok 1195 /checksum/SHA384/83 923s ok 1196 /checksum/SHA384/84 923s ok 1197 /checksum/SHA384/85 923s ok 1198 /checksum/SHA384/86 923s ok 1199 /checksum/SHA384/87 923s ok 1200 /checksum/SHA384/88 923s ok 1201 /checksum/SHA384/89 923s ok 1202 /checksum/SHA384/90 923s ok 1203 /checksum/SHA384/91 923s ok 1204 /checksum/SHA384/92 923s ok 1205 /checksum/SHA384/93 923s ok 1206 /checksum/SHA384/94 923s ok 1207 /checksum/SHA384/95 923s ok 1208 /checksum/SHA384/96 923s ok 1209 /checksum/SHA384/97 923s ok 1210 /checksum/SHA384/98 923s ok 1211 /checksum/SHA384/99 923s ok 1212 /checksum/SHA384/100 923s ok 1213 /checksum/SHA384/101 923s ok 1214 /checksum/SHA384/102 923s ok 1215 /checksum/SHA384/103 923s ok 1216 /checksum/SHA384/104 923s ok 1217 /checksum/SHA384/105 923s ok 1218 /checksum/SHA384/106 923s ok 1219 /checksum/SHA384/107 923s ok 1220 /checksum/SHA384/108 923s ok 1221 /checksum/SHA384/109 923s ok 1222 /checksum/SHA384/110 923s ok 1223 /checksum/SHA384/111 923s ok 1224 /checksum/SHA384/112 923s ok 1225 /checksum/SHA384/113 923s ok 1226 /checksum/SHA384/114 923s ok 1227 /checksum/SHA384/115 923s ok 1228 /checksum/SHA384/116 923s ok 1229 /checksum/SHA384/117 923s ok 1230 /checksum/SHA384/118 923s ok 1231 /checksum/SHA384/119 923s ok 1232 /checksum/SHA384/120 923s ok 1233 /checksum/SHA384/121 923s ok 1234 /checksum/SHA384/122 923s ok 1235 /checksum/SHA384/123 923s ok 1236 /checksum/SHA384/124 923s ok 1237 /checksum/SHA384/125 923s ok 1238 /checksum/SHA384/126 923s ok 1239 /checksum/SHA384/127 923s ok 1240 /checksum/SHA384/128 923s ok 1241 /checksum/SHA384/129 923s ok 1242 /checksum/SHA384/130 923s ok 1243 /checksum/SHA384/131 923s ok 1244 /checksum/SHA384/132 923s ok 1245 /checksum/SHA384/133 923s ok 1246 /checksum/SHA384/134 923s ok 1247 /checksum/SHA384/135 923s ok 1248 /checksum/SHA384/136 923s ok 1249 /checksum/SHA384/137 923s ok 1250 /checksum/SHA384/138 923s ok 1251 /checksum/SHA384/139 923s ok 1252 /checksum/SHA384/140 923s ok 1253 /checksum/SHA384/141 923s ok 1254 /checksum/SHA384/142 923s ok 1255 /checksum/SHA384/143 923s ok 1256 /checksum/SHA384/144 923s ok 1257 /checksum/SHA384/145 923s ok 1258 /checksum/SHA384/146 923s ok 1259 /checksum/SHA384/147 923s ok 1260 /checksum/SHA384/148 923s ok 1261 /checksum/SHA384/149 923s ok 1262 /checksum/SHA384/150 923s ok 1263 /checksum/SHA384/151 923s ok 1264 /checksum/SHA384/152 923s ok 1265 /checksum/SHA384/153 923s ok 1266 /checksum/SHA384/154 923s ok 1267 /checksum/SHA384/155 923s ok 1268 /checksum/SHA384/156 923s ok 1269 /checksum/SHA384/157 923s ok 1270 /checksum/SHA384/158 923s ok 1271 /checksum/SHA384/159 923s ok 1272 /checksum/SHA384/160 923s ok 1273 /checksum/SHA384/161 923s ok 1274 /checksum/SHA384/162 923s ok 1275 /checksum/SHA384/163 923s ok 1276 /checksum/SHA384/164 923s ok 1277 /checksum/SHA384/165 923s ok 1278 /checksum/SHA384/166 923s ok 1279 /checksum/SHA384/167 923s ok 1280 /checksum/SHA384/168 923s ok 1281 /checksum/SHA384/169 923s ok 1282 /checksum/SHA384/170 923s ok 1283 /checksum/SHA384/171 923s ok 1284 /checksum/SHA384/172 923s ok 1285 /checksum/SHA384/173 923s ok 1286 /checksum/SHA384/174 923s ok 1287 /checksum/SHA384/175 923s ok 1288 /checksum/SHA384/176 923s ok 1289 /checksum/SHA384/177 923s ok 1290 /checksum/SHA384/178 923s ok 1291 /checksum/SHA384/179 923s ok 1292 /checksum/SHA384/180 923s ok 1293 /checksum/SHA384/181 923s ok 1294 /checksum/SHA384/182 923s ok 1295 /checksum/SHA384/183 923s ok 1296 /checksum/SHA384/string 923s ok 1297 /checksum/SHA384/bytes 923s # Start of reset tests 923s ok 1298 /checksum/SHA384/reset/0 923s ok 1299 /checksum/SHA384/reset/1 923s ok 1300 /checksum/SHA384/reset/2 923s ok 1301 /checksum/SHA384/reset/3 923s ok 1302 /checksum/SHA384/reset/4 923s ok 1303 /checksum/SHA384/reset/5 923s ok 1304 /checksum/SHA384/reset/6 923s ok 1305 /checksum/SHA384/reset/7 923s ok 1306 /checksum/SHA384/reset/8 923s ok 1307 /checksum/SHA384/reset/9 923s ok 1308 /checksum/SHA384/reset/10 923s ok 1309 /checksum/SHA384/reset/11 923s ok 1310 /checksum/SHA384/reset/12 923s ok 1311 /checksum/SHA384/reset/13 923s ok 1312 /checksum/SHA384/reset/14 923s ok 1313 /checksum/SHA384/reset/15 923s ok 1314 /checksum/SHA384/reset/16 923s ok 1315 /checksum/SHA384/reset/17 923s ok 1316 /checksum/SHA384/reset/18 923s ok 1317 /checksum/SHA384/reset/19 923s ok 1318 /checksum/SHA384/reset/20 923s ok 1319 /checksum/SHA384/reset/21 923s ok 1320 /checksum/SHA384/reset/22 923s ok 1321 /checksum/SHA384/reset/23 923s ok 1322 /checksum/SHA384/reset/24 923s ok 1323 /checksum/SHA384/reset/25 923s ok 1324 /checksum/SHA384/reset/26 923s ok 1325 /checksum/SHA384/reset/27 923s ok 1326 /checksum/SHA384/reset/28 923s ok 1327 /checksum/SHA384/reset/29 923s ok 1328 /checksum/SHA384/reset/30 923s ok 1329 /checksum/SHA384/reset/31 923s ok 1330 /checksum/SHA384/reset/32 923s ok 1331 /checksum/SHA384/reset/33 923s ok 1332 /checksum/SHA384/reset/34 923s ok 1333 /checksum/SHA384/reset/35 923s ok 1334 /checksum/SHA384/reset/36 923s ok 1335 /checksum/SHA384/reset/37 923s ok 1336 /checksum/SHA384/reset/38 923s ok 1337 /checksum/SHA384/reset/39 923s ok 1338 /checksum/SHA384/reset/40 923s ok 1339 /checksum/SHA384/reset/41 923s ok 1340 /checksum/SHA384/reset/42 923s ok 1341 /checksum/SHA384/reset/43 923s ok 1342 /checksum/SHA384/reset/44 923s ok 1343 /checksum/SHA384/reset/45 923s ok 1344 /checksum/SHA384/reset/46 923s ok 1345 /checksum/SHA384/reset/47 923s ok 1346 /checksum/SHA384/reset/48 923s ok 1347 /checksum/SHA384/reset/49 923s ok 1348 /checksum/SHA384/reset/50 923s ok 1349 /checksum/SHA384/reset/51 923s ok 1350 /checksum/SHA384/reset/52 923s ok 1351 /checksum/SHA384/reset/53 923s ok 1352 /checksum/SHA384/reset/54 923s ok 1353 /checksum/SHA384/reset/55 923s ok 1354 /checksum/SHA384/reset/56 923s ok 1355 /checksum/SHA384/reset/57 923s ok 1356 /checksum/SHA384/reset/58 923s ok 1357 /checksum/SHA384/reset/59 923s ok 1358 /checksum/SHA384/reset/60 923s ok 1359 /checksum/SHA384/reset/61 923s ok 1360 /checksum/SHA384/reset/62 923s ok 1361 /checksum/SHA384/reset/63 923s ok 1362 /checksum/SHA384/reset/64 923s ok 1363 /checksum/SHA384/reset/65 923s ok 1364 /checksum/SHA384/reset/66 923s ok 1365 /checksum/SHA384/reset/67 923s ok 1366 /checksum/SHA384/reset/68 923s ok 1367 /checksum/SHA384/reset/69 923s ok 1368 /checksum/SHA384/reset/70 923s ok 1369 /checksum/SHA384/reset/71 923s ok 1370 /checksum/SHA384/reset/72 923s ok 1371 /checksum/SHA384/reset/73 923s ok 1372 /checksum/SHA384/reset/74 923s ok 1373 /checksum/SHA384/reset/75 923s ok 1374 /checksum/SHA384/reset/76 923s ok 1375 /checksum/SHA384/reset/77 923s ok 1376 /checksum/SHA384/reset/78 923s ok 1377 /checksum/SHA384/reset/79 923s ok 1378 /checksum/SHA384/reset/80 923s ok 1379 /checksum/SHA384/reset/81 923s ok 1380 /checksum/SHA384/reset/82 923s ok 1381 /checksum/SHA384/reset/83 923s ok 1382 /checksum/SHA384/reset/84 923s ok 1383 /checksum/SHA384/reset/85 923s ok 1384 /checksum/SHA384/reset/86 923s ok 1385 /checksum/SHA384/reset/87 923s ok 1386 /checksum/SHA384/reset/88 923s ok 1387 /checksum/SHA384/reset/89 923s ok 1388 /checksum/SHA384/reset/90 923s ok 1389 /checksum/SHA384/reset/91 923s ok 1390 /checksum/SHA384/reset/92 923s ok 1391 /checksum/SHA384/reset/93 923s ok 1392 /checksum/SHA384/reset/94 923s ok 1393 /checksum/SHA384/reset/95 923s ok 1394 /checksum/SHA384/reset/96 923s ok 1395 /checksum/SHA384/reset/97 923s ok 1396 /checksum/SHA384/reset/98 923s ok 1397 /checksum/SHA384/reset/99 923s ok 1398 /checksum/SHA384/reset/100 923s ok 1399 /checksum/SHA384/reset/101 923s ok 1400 /checksum/SHA384/reset/102 923s ok 1401 /checksum/SHA384/reset/103 923s ok 1402 /checksum/SHA384/reset/104 923s ok 1403 /checksum/SHA384/reset/105 923s ok 1404 /checksum/SHA384/reset/106 923s ok 1405 /checksum/SHA384/reset/107 923s ok 1406 /checksum/SHA384/reset/108 923s ok 1407 /checksum/SHA384/reset/109 923s ok 1408 /checksum/SHA384/reset/110 923s ok 1409 /checksum/SHA384/reset/111 923s ok 1410 /checksum/SHA384/reset/112 923s ok 1411 /checksum/SHA384/reset/113 923s ok 1412 /checksum/SHA384/reset/114 923s ok 1413 /checksum/SHA384/reset/115 923s ok 1414 /checksum/SHA384/reset/116 923s ok 1415 /checksum/SHA384/reset/117 923s ok 1416 /checksum/SHA384/reset/118 923s ok 1417 /checksum/SHA384/reset/119 923s ok 1418 /checksum/SHA384/reset/120 923s ok 1419 /checksum/SHA384/reset/121 923s ok 1420 /checksum/SHA384/reset/122 923s ok 1421 /checksum/SHA384/reset/123 923s ok 1422 /checksum/SHA384/reset/124 923s ok 1423 /checksum/SHA384/reset/125 923s ok 1424 /checksum/SHA384/reset/126 923s ok 1425 /checksum/SHA384/reset/127 923s ok 1426 /checksum/SHA384/reset/128 923s ok 1427 /checksum/SHA384/reset/129 923s ok 1428 /checksum/SHA384/reset/130 923s ok 1429 /checksum/SHA384/reset/131 923s ok 1430 /checksum/SHA384/reset/132 923s ok 1431 /checksum/SHA384/reset/133 923s ok 1432 /checksum/SHA384/reset/134 923s ok 1433 /checksum/SHA384/reset/135 923s ok 1434 /checksum/SHA384/reset/136 923s ok 1435 /checksum/SHA384/reset/137 923s ok 1436 /checksum/SHA384/reset/138 923s ok 1437 /checksum/SHA384/reset/139 923s ok 1438 /checksum/SHA384/reset/140 923s ok 1439 /checksum/SHA384/reset/141 923s ok 1440 /checksum/SHA384/reset/142 923s ok 1441 /checksum/SHA384/reset/143 923s ok 1442 /checksum/SHA384/reset/144 923s ok 1443 /checksum/SHA384/reset/145 923s ok 1444 /checksum/SHA384/reset/146 923s ok 1445 /checksum/SHA384/reset/147 923s ok 1446 /checksum/SHA384/reset/148 923s ok 1447 /checksum/SHA384/reset/149 923s ok 1448 /checksum/SHA384/reset/150 923s ok 1449 /checksum/SHA384/reset/151 923s ok 1450 /checksum/SHA384/reset/152 923s ok 1451 /checksum/SHA384/reset/153 923s ok 1452 /checksum/SHA384/reset/154 923s ok 1453 /checksum/SHA384/reset/155 923s ok 1454 /checksum/SHA384/reset/156 923s ok 1455 /checksum/SHA384/reset/157 923s ok 1456 /checksum/SHA384/reset/158 923s ok 1457 /checksum/SHA384/reset/159 923s ok 1458 /checksum/SHA384/reset/160 923s ok 1459 /checksum/SHA384/reset/161 923s ok 1460 /checksum/SHA384/reset/162 923s ok 1461 /checksum/SHA384/reset/163 923s ok 1462 /checksum/SHA384/reset/164 923s ok 1463 /checksum/SHA384/reset/165 923s ok 1464 /checksum/SHA384/reset/166 923s ok 1465 /checksum/SHA384/reset/167 923s ok 1466 /checksum/SHA384/reset/168 923s ok 1467 /checksum/SHA384/reset/169 923s ok 1468 /checksum/SHA384/reset/170 923s ok 1469 /checksum/SHA384/reset/171 923s ok 1470 /checksum/SHA384/reset/172 923s ok 1471 /checksum/SHA384/reset/173 923s ok 1472 /checksum/SHA384/reset/174 923s ok 1473 /checksum/SHA384/reset/175 923s ok 1474 /checksum/SHA384/reset/176 923s ok 1475 /checksum/SHA384/reset/177 923s ok 1476 /checksum/SHA384/reset/178 923s ok 1477 /checksum/SHA384/reset/179 923s ok 1478 /checksum/SHA384/reset/180 923s ok 1479 /checksum/SHA384/reset/181 923s ok 1480 /checksum/SHA384/reset/182 923s ok 1481 /checksum/SHA384/reset/183 923s # End of reset tests 923s # End of SHA384 tests 923s # Start of SHA512 tests 923s ok 1482 /checksum/SHA512/0 923s ok 1483 /checksum/SHA512/1 923s ok 1484 /checksum/SHA512/2 923s ok 1485 /checksum/SHA512/3 923s ok 1486 /checksum/SHA512/4 923s ok 1487 /checksum/SHA512/5 923s ok 1488 /checksum/SHA512/6 923s ok 1489 /checksum/SHA512/7 923s ok 1490 /checksum/SHA512/8 923s ok 1491 /checksum/SHA512/9 923s ok 1492 /checksum/SHA512/10 923s ok 1493 /checksum/SHA512/11 923s ok 1494 /checksum/SHA512/12 923s ok 1495 /checksum/SHA512/13 923s ok 1496 /checksum/SHA512/14 923s ok 1497 /checksum/SHA512/15 923s ok 1498 /checksum/SHA512/16 923s ok 1499 /checksum/SHA512/17 923s ok 1500 /checksum/SHA512/18 923s ok 1501 /checksum/SHA512/19 923s ok 1502 /checksum/SHA512/20 923s ok 1503 /checksum/SHA512/21 923s ok 1504 /checksum/SHA512/22 923s ok 1505 /checksum/SHA512/23 923s ok 1506 /checksum/SHA512/24 923s ok 1507 /checksum/SHA512/25 923s ok 1508 /checksum/SHA512/26 923s ok 1509 /checksum/SHA512/27 923s ok 1510 /checksum/SHA512/28 923s ok 1511 /checksum/SHA512/29 923s ok 1512 /checksum/SHA512/30 923s ok 1513 /checksum/SHA512/31 923s ok 1514 /checksum/SHA512/32 923s ok 1515 /checksum/SHA512/33 923s ok 1516 /checksum/SHA512/34 923s ok 1517 /checksum/SHA512/35 923s ok 1518 /checksum/SHA512/36 923s ok 1519 /checksum/SHA512/37 923s ok 1520 /checksum/SHA512/38 923s ok 1521 /checksum/SHA512/39 923s ok 1522 /checksum/SHA512/40 923s ok 1523 /checksum/SHA512/41 923s ok 1524 /checksum/SHA512/42 923s ok 1525 /checksum/SHA512/43 923s ok 1526 /checksum/SHA512/44 923s ok 1527 /checksum/SHA512/45 923s ok 1528 /checksum/SHA512/46 923s ok 1529 /checksum/SHA512/47 923s ok 1530 /checksum/SHA512/48 923s ok 1531 /checksum/SHA512/49 923s ok 1532 /checksum/SHA512/50 923s ok 1533 /checksum/SHA512/51 923s ok 1534 /checksum/SHA512/52 923s ok 1535 /checksum/SHA512/53 923s ok 1536 /checksum/SHA512/54 923s ok 1537 /checksum/SHA512/55 923s ok 1538 /checksum/SHA512/56 923s ok 1539 /checksum/SHA512/57 923s ok 1540 /checksum/SHA512/58 923s ok 1541 /checksum/SHA512/59 923s ok 1542 /checksum/SHA512/60 923s ok 1543 /checksum/SHA512/61 923s ok 1544 /checksum/SHA512/62 923s ok 1545 /checksum/SHA512/63 923s ok 1546 /checksum/SHA512/64 923s ok 1547 /checksum/SHA512/65 923s ok 1548 /checksum/SHA512/66 923s ok 1549 /checksum/SHA512/67 923s ok 1550 /checksum/SHA512/68 923s ok 1551 /checksum/SHA512/69 923s ok 1552 /checksum/SHA512/70 923s ok 1553 /checksum/SHA512/71 923s ok 1554 /checksum/SHA512/72 923s ok 1555 /checksum/SHA512/73 923s ok 1556 /checksum/SHA512/74 923s ok 1557 /checksum/SHA512/75 923s ok 1558 /checksum/SHA512/76 923s ok 1559 /checksum/SHA512/77 923s ok 1560 /checksum/SHA512/78 923s ok 1561 /checksum/SHA512/79 923s ok 1562 /checksum/SHA512/80 923s ok 1563 /checksum/SHA512/81 923s ok 1564 /checksum/SHA512/82 923s ok 1565 /checksum/SHA512/83 923s ok 1566 /checksum/SHA512/84 923s ok 1567 /checksum/SHA512/85 923s ok 1568 /checksum/SHA512/86 923s ok 1569 /checksum/SHA512/87 923s ok 1570 /checksum/SHA512/88 923s ok 1571 /checksum/SHA512/89 923s ok 1572 /checksum/SHA512/90 923s ok 1573 /checksum/SHA512/91 923s ok 1574 /checksum/SHA512/92 923s ok 1575 /checksum/SHA512/93 923s ok 1576 /checksum/SHA512/94 923s ok 1577 /checksum/SHA512/95 923s ok 1578 /checksum/SHA512/96 923s ok 1579 /checksum/SHA512/97 923s ok 1580 /checksum/SHA512/98 923s ok 1581 /checksum/SHA512/99 923s ok 1582 /checksum/SHA512/100 923s ok 1583 /checksum/SHA512/101 923s ok 1584 /checksum/SHA512/102 923s ok 1585 /checksum/SHA512/103 923s ok 1586 /checksum/SHA512/104 923s ok 1587 /checksum/SHA512/105 923s ok 1588 /checksum/SHA512/106 923s ok 1589 /checksum/SHA512/107 923s ok 1590 /checksum/SHA512/108 923s ok 1591 /checksum/SHA512/109 923s ok 1592 /checksum/SHA512/110 923s ok 1593 /checksum/SHA512/111 923s ok 1594 /checksum/SHA512/112 923s ok 1595 /checksum/SHA512/113 923s ok 1596 /checksum/SHA512/114 923s ok 1597 /checksum/SHA512/115 923s ok 1598 /checksum/SHA512/116 923s ok 1599 /checksum/SHA512/117 923s ok 1600 /checksum/SHA512/118 923s ok 1601 /checksum/SHA512/119 923s ok 1602 /checksum/SHA512/120 923s ok 1603 /checksum/SHA512/121 923s ok 1604 /checksum/SHA512/122 923s ok 1605 /checksum/SHA512/123 923s ok 1606 /checksum/SHA512/124 923s ok 1607 /checksum/SHA512/125 923s ok 1608 /checksum/SHA512/126 923s ok 1609 /checksum/SHA512/127 923s ok 1610 /checksum/SHA512/128 923s ok 1611 /checksum/SHA512/129 923s ok 1612 /checksum/SHA512/130 923s ok 1613 /checksum/SHA512/131 923s ok 1614 /checksum/SHA512/132 923s ok 1615 /checksum/SHA512/133 923s ok 1616 /checksum/SHA512/134 923s ok 1617 /checksum/SHA512/135 923s ok 1618 /checksum/SHA512/136 923s ok 1619 /checksum/SHA512/137 923s ok 1620 /checksum/SHA512/138 923s ok 1621 /checksum/SHA512/139 923s ok 1622 /checksum/SHA512/140 923s ok 1623 /checksum/SHA512/141 923s ok 1624 /checksum/SHA512/142 923s ok 1625 /checksum/SHA512/143 923s ok 1626 /checksum/SHA512/144 923s ok 1627 /checksum/SHA512/145 923s ok 1628 /checksum/SHA512/146 923s ok 1629 /checksum/SHA512/147 923s ok 1630 /checksum/SHA512/148 923s ok 1631 /checksum/SHA512/149 923s ok 1632 /checksum/SHA512/150 923s ok 1633 /checksum/SHA512/151 923s ok 1634 /checksum/SHA512/152 923s ok 1635 /checksum/SHA512/153 923s ok 1636 /checksum/SHA512/154 923s ok 1637 /checksum/SHA512/155 923s ok 1638 /checksum/SHA512/156 923s ok 1639 /checksum/SHA512/157 923s ok 1640 /checksum/SHA512/158 923s ok 1641 /checksum/SHA512/159 923s ok 1642 /checksum/SHA512/160 923s ok 1643 /checksum/SHA512/161 923s ok 1644 /checksum/SHA512/162 923s ok 1645 /checksum/SHA512/163 923s ok 1646 /checksum/SHA512/164 923s ok 1647 /checksum/SHA512/165 923s ok 1648 /checksum/SHA512/166 923s ok 1649 /checksum/SHA512/167 923s ok 1650 /checksum/SHA512/168 923s ok 1651 /checksum/SHA512/169 923s ok 1652 /checksum/SHA512/170 923s ok 1653 /checksum/SHA512/171 923s ok 1654 /checksum/SHA512/172 923s ok 1655 /checksum/SHA512/173 923s ok 1656 /checksum/SHA512/174 923s ok 1657 /checksum/SHA512/175 923s ok 1658 /checksum/SHA512/176 923s ok 1659 /checksum/SHA512/177 923s ok 1660 /checksum/SHA512/178 923s ok 1661 /checksum/SHA512/179 923s ok 1662 /checksum/SHA512/180 923s ok 1663 /checksum/SHA512/181 923s ok 1664 /checksum/SHA512/182 923s ok 1665 /checksum/SHA512/183 923s ok 1666 /checksum/SHA512/string 923s ok 1667 /checksum/SHA512/bytes 923s # Start of reset tests 923s ok 1668 /checksum/SHA512/reset/0 923s ok 1669 /checksum/SHA512/reset/1 923s ok 1670 /checksum/SHA512/reset/2 923s ok 1671 /checksum/SHA512/reset/3 923s ok 1672 /checksum/SHA512/reset/4 923s ok 1673 /checksum/SHA512/reset/5 923s ok 1674 /checksum/SHA512/reset/6 923s ok 1675 /checksum/SHA512/reset/7 923s ok 1676 /checksum/SHA512/reset/8 923s ok 1677 /checksum/SHA512/reset/9 923s ok 1678 /checksum/SHA512/reset/10 923s ok 1679 /checksum/SHA512/reset/11 923s ok 1680 /checksum/SHA512/reset/12 923s ok 1681 /checksum/SHA512/reset/13 923s ok 1682 /checksum/SHA512/reset/14 923s ok 1683 /checksum/SHA512/reset/15 923s ok 1684 /checksum/SHA512/reset/16 923s ok 1685 /checksum/SHA512/reset/17 923s ok 1686 /checksum/SHA512/reset/18 923s ok 1687 /checksum/SHA512/reset/19 923s ok 1688 /checksum/SHA512/reset/20 923s ok 1689 /checksum/SHA512/reset/21 923s ok 1690 /checksum/SHA512/reset/22 923s ok 1691 /checksum/SHA512/reset/23 923s ok 1692 /checksum/SHA512/reset/24 923s ok 1693 /checksum/SHA512/reset/25 923s ok 1694 /checksum/SHA512/reset/26 923s ok 1695 /checksum/SHA512/reset/27 923s ok 1696 /checksum/SHA512/reset/28 923s ok 1697 /checksum/SHA512/reset/29 923s ok 1698 /checksum/SHA512/reset/30 923s ok 1699 /checksum/SHA512/reset/31 923s ok 1700 /checksum/SHA512/reset/32 923s ok 1701 /checksum/SHA512/reset/33 923s ok 1702 /checksum/SHA512/reset/34 923s ok 1703 /checksum/SHA512/reset/35 923s ok 1704 /checksum/SHA512/reset/36 923s ok 1705 /checksum/SHA512/reset/37 923s ok 1706 /checksum/SHA512/reset/38 923s ok 1707 /checksum/SHA512/reset/39 923s ok 1708 /checksum/SHA512/reset/40 923s ok 1709 /checksum/SHA512/reset/41 923s ok 1710 /checksum/SHA512/reset/42 923s ok 1711 /checksum/SHA512/reset/43 923s ok 1712 /checksum/SHA512/reset/44 923s ok 1713 /checksum/SHA512/reset/45 923s ok 1714 /checksum/SHA512/reset/46 923s ok 1715 /checksum/SHA512/reset/47 923s ok 1716 /checksum/SHA512/reset/48 923s ok 1717 /checksum/SHA512/reset/49 923s ok 1718 /checksum/SHA512/reset/50 923s ok 1719 /checksum/SHA512/reset/51 923s ok 1720 /checksum/SHA512/reset/52 923s ok 1721 /checksum/SHA512/reset/53 923s ok 1722 /checksum/SHA512/reset/54 923s ok 1723 /checksum/SHA512/reset/55 923s ok 1724 /checksum/SHA512/reset/56 923s ok 1725 /checksum/SHA512/reset/57 923s ok 1726 /checksum/SHA512/reset/58 923s ok 1727 /checksum/SHA512/reset/59 923s ok 1728 /checksum/SHA512/reset/60 923s ok 1729 /checksum/SHA512/reset/61 923s ok 1730 /checksum/SHA512/reset/62 923s ok 1731 /checksum/SHA512/reset/63 923s ok 1732 /checksum/SHA512/reset/64 923s ok 1733 /checksum/SHA512/reset/65 923s ok 1734 /checksum/SHA512/reset/66 923s ok 1735 /checksum/SHA512/reset/67 923s ok 1736 /checksum/SHA512/reset/68 923s ok 1737 /checksum/SHA512/reset/69 923s ok 1738 /checksum/SHA512/reset/70 923s ok 1739 /checksum/SHA512/reset/71 923s ok 1740 /checksum/SHA512/reset/72 923s ok 1741 /checksum/SHA512/reset/73 923s ok 1742 /checksum/SHA512/reset/74 923s ok 1743 /checksum/SHA512/reset/75 923s ok 1744 /checksum/SHA512/reset/76 923s ok 1745 /checksum/SHA512/reset/77 923s ok 1746 /checksum/SHA512/reset/78 923s ok 1747 /checksum/SHA512/reset/79 923s ok 1748 /checksum/SHA512/reset/80 923s ok 1749 /checksum/SHA512/reset/81 923s ok 1750 /checksum/SHA512/reset/82 923s ok 1751 /checksum/SHA512/reset/83 923s ok 1752 /checksum/SHA512/reset/84 923s ok 1753 /checksum/SHA512/reset/85 923s ok 1754 /checksum/SHA512/reset/86 923s ok 1755 /checksum/SHA512/reset/87 923s ok 1756 /checksum/SHA512/reset/88 923s ok 1757 /checksum/SHA512/reset/89 923s ok 1758 /checksum/SHA512/reset/90 923s ok 1759 /checksum/SHA512/reset/91 923s ok 1760 /checksum/SHA512/reset/92 923s ok 1761 /checksum/SHA512/reset/93 923s ok 1762 /checksum/SHA512/reset/94 923s ok 1763 /checksum/SHA512/reset/95 923s ok 1764 /checksum/SHA512/reset/96 923s ok 1765 /checksum/SHA512/reset/97 923s ok 1766 /checksum/SHA512/reset/98 923s ok 1767 /checksum/SHA512/reset/99 923s ok 1768 /checksum/SHA512/reset/100 923s ok 1769 /checksum/SHA512/reset/101 923s ok 1770 /checksum/SHA512/reset/102 923s ok 1771 /checksum/SHA512/reset/103 923s ok 1772 /checksum/SHA512/reset/104 923s ok 1773 /checksum/SHA512/reset/105 923s ok 1774 /checksum/SHA512/reset/106 923s ok 1775 /checksum/SHA512/reset/107 923s ok 1776 /checksum/SHA512/reset/108 923s ok 1777 /checksum/SHA512/reset/109 923s ok 1778 /checksum/SHA512/reset/110 923s ok 1779 /checksum/SHA512/reset/111 923s ok 1780 /checksum/SHA512/reset/112 923s ok 1781 /checksum/SHA512/reset/113 923s ok 1782 /checksum/SHA512/reset/114 923s ok 1783 /checksum/SHA512/reset/115 923s ok 1784 /checksum/SHA512/reset/116 923s ok 1785 /checksum/SHA512/reset/117 923s ok 1786 /checksum/SHA512/reset/118 923s ok 1787 /checksum/SHA512/reset/119 923s ok 1788 /checksum/SHA512/reset/120 923s ok 1789 /checksum/SHA512/reset/121 923s ok 1790 /checksum/SHA512/reset/122 923s ok 1791 /checksum/SHA512/reset/123 923s ok 1792 /checksum/SHA512/reset/124 923s ok 1793 /checksum/SHA512/reset/125 923s ok 1794 /checksum/SHA512/reset/126 923s ok 1795 /checksum/SHA512/reset/127 923s ok 1796 /checksum/SHA512/reset/128 923s ok 1797 /checksum/SHA512/reset/129 923s ok 1798 /checksum/SHA512/reset/130 923s ok 1799 /checksum/SHA512/reset/131 923s ok 1800 /checksum/SHA512/reset/132 923s ok 1801 /checksum/SHA512/reset/133 923s ok 1802 /checksum/SHA512/reset/134 923s ok 1803 /checksum/SHA512/reset/135 923s ok 1804 /checksum/SHA512/reset/136 923s ok 1805 /checksum/SHA512/reset/137 923s ok 1806 /checksum/SHA512/reset/138 923s ok 1807 /checksum/SHA512/reset/139 923s ok 1808 /checksum/SHA512/reset/140 923s ok 1809 /checksum/SHA512/reset/141 923s ok 1810 /checksum/SHA512/reset/142 923s ok 1811 /checksum/SHA512/reset/143 923s ok 1812 /checksum/SHA512/reset/144 923s ok 1813 /checksum/SHA512/reset/145 923s ok 1814 /checksum/SHA512/reset/146 923s ok 1815 /checksum/SHA512/reset/147 923s ok 1816 /checksum/SHA512/reset/148 923s ok 1817 /checksum/SHA512/reset/149 923s ok 1818 /checksum/SHA512/reset/150 923s ok 1819 /checksum/SHA512/reset/151 923s ok 1820 /checksum/SHA512/reset/152 923s ok 1821 /checksum/SHA512/reset/153 923s ok 1822 /checksum/SHA512/reset/154 923s ok 1823 /checksum/SHA512/reset/155 923s ok 1824 /checksum/SHA512/reset/156 923s ok 1825 /checksum/SHA512/reset/157 923s ok 1826 /checksum/SHA512/reset/158 923s ok 1827 /checksum/SHA512/reset/159 923s ok 1828 /checksum/SHA512/reset/160 923s ok 1829 /checksum/SHA512/reset/161 923s ok 1830 /checksum/SHA512/reset/162 923s ok 1831 /checksum/SHA512/reset/163 923s ok 1832 /checksum/SHA512/reset/164 923s ok 1833 /checksum/SHA512/reset/165 923s ok 1834 /checksum/SHA512/reset/166 923s ok 1835 /checksum/SHA512/reset/167 923s ok 1836 /checksum/SHA512/reset/168 923s ok 1837 /checksum/SHA512/reset/169 923s ok 1838 /checksum/SHA512/reset/170 923s ok 1839 /checksum/SHA512/reset/171 923s ok 1840 /checksum/SHA512/reset/172 923s ok 1841 /checksum/SHA512/reset/173 923s ok 1842 /checksum/SHA512/reset/174 923s ok 1843 /checksum/SHA512/reset/175 923s ok 1844 /checksum/SHA512/reset/176 923s ok 1845 /checksum/SHA512/reset/177 923s ok 1846 /checksum/SHA512/reset/178 923s ok 1847 /checksum/SHA512/reset/179 923s ok 1848 /checksum/SHA512/reset/180 923s ok 1849 /checksum/SHA512/reset/181 923s ok 1850 /checksum/SHA512/reset/182 923s ok 1851 /checksum/SHA512/reset/183 923s # End of reset tests 923s # End of SHA512 tests 923s # End of checksum tests 923s ok - glib/checksum.test 923s # Running test: glib/custom-dispatch.test 923s TAP version 13 923s # random seed: R02S845cc543c7944aadb301d4b6691f8a9b 923s 1..2 923s # Start of properties tests 923s # Start of custom-dispatch tests 923s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 923s ok 1 /properties/custom-dispatch/init 923s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 923s ok 2 /properties/custom-dispatch/set 923s # End of custom-dispatch tests 923s # End of properties tests 923s ok - glib/custom-dispatch.test 923s # Running test: glib/queue.test 923s TAP version 13 923s # random seed: R02S9e79bd8a61b3d5987de1a1d9cbc142c7 923s 1..12 923s # Start of queue tests 923s ok 1 /queue/basic 923s ok 2 /queue/copy 923s ok 3 /queue/off-by-one 923s ok 4 /queue/find-custom 923s ok 5 /queue/static 923s ok 6 /queue/clear 923s ok 7 /queue/free-full 923s ok 8 /queue/clear-full 923s ok 9 /queue/insert-sibling-link 923s ok 10 /queue/push-nth-link 923s # Start of clear-full tests 923s ok 11 /queue/clear-full/noop 923s # End of clear-full tests 923s # Start of random tests 923s ok 12 /queue/random/seed:1596354452 923s # End of random tests 923s # End of queue tests 923s ok - glib/queue.test 923s # Running test: glib/spawn-test.test 923s TAP version 13 923s # random seed: R02S726beabdfe50ff10ecea7ad6dabc1b68 923s 1..2 923s # Start of spawn tests 924s ok 1 /spawn/basics 924s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 924s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 924s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 924s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 924s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 924s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 924s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 924s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 924s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 924s # Fetching GSpawn result output with stdin open, stdout open, stderr open 924s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 924s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 924s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 924s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 924s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 924s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 924s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 924s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 924s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 924s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 924s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 924s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 924s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 924s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 924s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 924s # Fetching GSpawn result with stdin open, stdout open, stderr open 924s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 924s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 924s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 924s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 924s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 924s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 924s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 924s ok 2 /spawn/stdio-overwrite 924s # End of spawn tests 924s ok - glib/spawn-test.test 924s # Running test: glib/autoptr-gio.test 924s TAP version 13 924s # random seed: R02S341d6cf349418792fef1e18886be84b8 924s 1..1 924s # Start of autoptr tests 924s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 924s ok 1 /autoptr/autoptr 924s # End of autoptr tests 924s ok - glib/autoptr-gio.test 924s # Running test: glib/slist.test 924s TAP version 13 924s # random seed: R02Sb25e2581c7b15efd0f5caf430a664e8a 924s 1..14 924s # Start of slist tests 924s ok 1 /slist/sort 924s ok 2 /slist/sort-with-data 924s ok 3 /slist/insert-sorted 924s ok 4 /slist/insert-sorted-with-data 924s ok 5 /slist/reverse 924s ok 6 /slist/nth 924s ok 7 /slist/remove 924s ok 8 /slist/remove-all 924s ok 9 /slist/insert 924s ok 10 /slist/position 924s ok 11 /slist/concat 924s ok 12 /slist/copy 924s # Start of sort tests 924s ok 13 /slist/sort/stable 924s # End of sort tests 924s # Start of copy tests 924s ok 14 /slist/copy/deep 924s # End of copy tests 924s # End of slist tests 924s ok - glib/slist.test 924s # Running test: glib/signals-refcount1.test 924s TAP version 13 924s # random seed: R02Sdc2a7058d0130040be4ddc54c1d0390e 924s 1..1 924s # Start of gobject tests 924s # Start of refcount tests 924s # init 0xb3df73fda420 924s # 924s # init 0xb3df73fda5c0 924s # 926s # Executing: glib/signals-refcount1.test 929s # dispose 0xb3df73fda420! 929s # 929s # dispose 0xb3df73fda5c0! 929s # 929s ok 1 /gobject/refcount/signals 929s # slow test /gobject/refcount/signals executed in 5.04 secs 929s # End of refcount tests 929s # End of gobject tests 929s ok - glib/signals-refcount1.test 929s # Running test: glib/accumulator.test 929s TAP version 13 929s # random seed: R02S3e448fb069c596428d2201658ff40867 929s 1..1 929s # Start of gobject tests 929s ok 1 /gobject/accumulator 929s # End of gobject tests 929s ok - glib/accumulator.test 929s # Running test: glib/qdata.test 929s TAP version 13 929s # random seed: R02Sa6d3fb2086ab412a5a7c49c61150c908 929s 1..2 929s # Start of qdata tests 929s ok 1 /qdata/threaded 929s ok 2 /qdata/dup 929s # End of qdata tests 929s ok - glib/qdata.test 929s # Running test: glib/utils-isolated.test 929s TAP version 13 929s # random seed: R02S57f86264564d4a07284169a1520c039e 929s 1..9 929s # Start of utils-isolated tests 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/tmp-dir/.dirs/runtime 929s ok 1 /utils-isolated/tmp-dir 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/home-dir/.dirs/runtime 929s ok 2 /utils-isolated/home-dir 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-cache-dir/.dirs/runtime 929s ok 3 /utils-isolated/user-cache-dir 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-config-dirs/.dirs/runtime 929s ok 4 /utils-isolated/system-config-dirs 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-config-dir/.dirs/runtime 929s ok 5 /utils-isolated/user-config-dir 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/system-data-dirs/.dirs/runtime 929s ok 6 /utils-isolated/system-data-dirs 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-data-dir/.dirs/runtime 929s ok 7 /utils-isolated/user-data-dir 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-state-dir/.dirs/runtime 929s ok 8 /utils-isolated/user-state-dir 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_K8M2J2/utils-isolated/user-runtime-dir/.dirs/runtime 929s ok 9 /utils-isolated/user-runtime-dir 929s # End of utils-isolated tests 929s ok - glib/utils-isolated.test 929s # Running test: glib/cxx-98.test 929s TAP version 13 929s # random seed: R02Sf8a8aac5f05383b101208f5fe3cb493a 929s 1..2 929s # Start of gtask tests 929s # 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. 929s ok 1 /gtask/name 929s # Start of name tests 929s # 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. 929s ok 2 /gtask/name/macro-wrapper 929s # End of name tests 929s # End of gtask tests 929s ok - glib/cxx-98.test 929s # Running test: glib/timeout.test 929s TAP version 13 929s # random seed: R02S6e541b33ef972579b56e7772f1a468d5 929s 1..5 929s # Start of timeout tests 929s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 931s # Executing: glib/timeout.test 931s ok 1 /timeout/seconds 931s # slow test /timeout/seconds executed in 2.10 secs 934s ok 2 /timeout/seconds-once 934s # slow test /timeout/seconds-once executed in 2.10 secs 934s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 936s # Executing: glib/timeout.test 936s ok 3 /timeout/weeks-overflow 936s # slow test /timeout/weeks-overflow executed in 2.10 secs 936s ok 4 /timeout/far-future-ready-time 941s # Executing: glib/timeout.test 946s # Executing: glib/timeout.test 946s ok 5 /timeout/rounding 946s # slow test /timeout/rounding executed in 9.95 secs 946s # End of timeout tests 946s ok - glib/timeout.test 946s # Running test: glib/socket.test 946s TAP version 13 946s # random seed: R02S0bcfbfb1aeee33d7943f9a17a31d4c59 946s 1..28 946s # Start of socket tests 947s ok 1 /socket/ipv4_sync 947s # slow test /socket/ipv4_sync executed in 1.00 secs 948s ok 2 /socket/ipv4_async 948s # slow test /socket/ipv4_async executed in 1.02 secs 948s ok 3 /socket/ipv6_sync 948s ok 4 /socket/ipv6_async 948s ok 5 /socket/ipv6_v4mapped 949s ok 6 /socket/close_graceful 949s # slow test /socket/close_graceful executed in 1.00 secs 949s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 949s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 949s ok 8 /socket/fd_reuse 949s ok 9 /socket/address 949s ok 10 /socket/unix-from-fd 949s ok 11 /socket/unix-connection 949s ok 12 /socket/unix-connection-ancillary-data 949s ok 13 /socket/source-postmortem 949s ok 14 /socket/read_write 949s ok 15 /socket/read_writev 949s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 949s ok 16 /socket/receive_bytes 949s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 949s ok 17 /socket/receive_bytes_from 949s # Start of ipv4_sync tests 949s ok 18 /socket/ipv4_sync/datagram 949s # Start of datagram tests 950s ok 19 /socket/ipv4_sync/datagram/timeouts 950s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 950s # End of datagram tests 950s # End of ipv4_sync tests 950s # Start of ipv6_sync tests 950s ok 20 /socket/ipv6_sync/datagram 950s # Start of datagram tests 951s # Executing: glib/socket.test 951s ok 21 /socket/ipv6_sync/datagram/timeouts 951s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 951s # End of datagram tests 951s # End of ipv6_sync tests 951s # Start of reuse tests 951s ok 22 /socket/reuse/tcp 951s ok 23 /socket/reuse/udp 951s # End of reuse tests 951s # Start of get_available tests 951s ok 24 /socket/get_available/datagram 951s ok 25 /socket/get_available/stream 951s # End of get_available tests 951s # Start of credentials tests 951s # Supported on this OS: GCredentials:linux-ucred:pid=0 951s ok 26 /socket/credentials/tcp_client 951s # Supported on this OS: GCredentials:linux-ucred:pid=0 951s ok 27 /socket/credentials/tcp_server 951s # Supported on this OS: GCredentials:linux-ucred:pid=4521,uid=1000,gid=1000 951s ok 28 /socket/credentials/unix_socketpair 951s # End of credentials tests 951s # End of socket tests 951s ok - glib/socket.test 951s # Running test: glib/simple-async-result.test 951s TAP version 13 951s # random seed: R02S4b0c3422b62f12f5cc185b03174febc4 951s 1..2 951s # Start of gio tests 951s # Start of simple-async-result tests 951s ok 1 /gio/simple-async-result/test 951s # GLib-GIO-DEBUG: GTask 0xabc5a3cf76e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 951s ok 2 /gio/simple-async-result/valid 951s # End of simple-async-result tests 951s # End of gio tests 951s ok - glib/simple-async-result.test 951s # Running test: glib/private.test 951s TAP version 13 951s # random seed: R02S8b185f48c97172db371c24aaa879323f 951s 1..8 951s # Start of thread tests 951s ok 1 /thread/private1 952s ok 2 /thread/private2 952s # slow test /thread/private2 executed in 1.13 secs 952s ok 3 /thread/private3 952s ok 4 /thread/staticprivate1 952s ok 5 /thread/staticprivate2 952s ok 6 /thread/staticprivate3 953s ok 7 /thread/staticprivate4 953s # slow test /thread/staticprivate4 executed in 1.09 secs 953s ok 8 /thread/staticprivate5 953s # End of thread tests 953s ok - glib/private.test 953s # Running test: glib/cxx-14.test 953s TAP version 13 953s # random seed: R02Sf1255eea5d609d22d3a13054ab1f27fe 953s 1..2 953s # Start of gtask tests 953s # 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. 953s ok 1 /gtask/name 953s # Start of name tests 953s # 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. 953s ok 2 /gtask/name/macro-wrapper 953s # End of name tests 953s # End of gtask tests 954s ok - glib/cxx-14.test 954s # Running test: glib/mapping.test 954s TAP version 13 954s # random seed: R02Secd91772862c82bd9f1363eb023393ab 954s 1..3 954s # Start of mapping tests 954s # test_mapping: ok 954s ok 1 /mapping/flags 954s ok 2 /mapping/private 954s # test_child_private: child spawned 954s # Subtest: /usr/libexec/installed-tests/glib/mapping 954s # # random seed: R02S614e89b8e8cbe6c66caf74f4fefdfdde 954s # test_child_private: received first child signal 954s # # test_child_private: received parent signal 954s # test_child_private: received second child signal 954s ok 3 /mapping/private-child 954s # End of mapping tests 954s ok - glib/mapping.test 954s # Running test: glib/trash.test 954s TAP version 13 954s # random seed: R02S0e2f685c2a5d5035ca64ec2561a5e7ca 954s 1..2 954s # Start of trash tests 954s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 954s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 954s # File: /tmp/test-trashTIHGK2 (parent st_dev: 64769) 954s # Home: /home/ubuntu (st_dev: 64769) 954s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 954s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 954s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 954s # End of trash tests 954s ok - glib/trash.test 954s # Running test: glib/testfilemonitor.test 954s TAP version 13 954s # random seed: R02Se2a3e6a77b903aea869a58dbb8a56182 954s 1..8 954s # Start of monitor tests 954s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 954s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 954s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 954s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s # Start of file tests 954s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 954s # End of file tests 954s # End of monitor tests 954s ok - glib/testfilemonitor.test 954s # Running test: glib/thread.test 954s TAP version 13 954s # random seed: R02Sdfcff474cf0a9072c4d1ca96cc5c35b7 954s 1..7 954s # Start of thread tests 954s ok 1 /thread/thread1 954s ok 2 /thread/thread2 954s ok 3 /thread/thread3 954s ok 4 /thread/thread4 954s ok 5 /thread/thread5 954s ok 6 /thread/thread6 954s ok 7 /thread/thread7 954s # End of thread tests 954s ok - glib/thread.test 954s # Running test: glib/bookmarkfile.test 954s TAP version 13 954s # random seed: R02S0d2c41630462f79e8384b4631fec4712 954s 1..96 954s # Start of bookmarks tests 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/load-from-data-dirs/.dirs/runtime 954s ok 1 /bookmarks/load-from-data-dirs 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/to-file/.dirs/runtime 954s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_H2IDK2/bookmarkfile-test-ESRDK2.xbel 954s # Roundtrip from a valid bookmark file 954s ok 2 /bookmarks/to-file 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/move-item/.dirs/runtime 954s ok 3 /bookmarks/move-item 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/corner-cases/.dirs/runtime 954s ok 4 /bookmarks/corner-cases 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/misc/.dirs/runtime 954s ok 5 /bookmarks/misc 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/deprecated/.dirs/runtime 954s ok 6 /bookmarks/deprecated 954s # Start of parse tests 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 954s ok 7 /bookmarks/parse/fail-16.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 954s ok 8 /bookmarks/parse/fail-42.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 954s ok 9 /bookmarks/parse/fail-10.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 954s ok 10 /bookmarks/parse/fail-01.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 954s ok 11 /bookmarks/parse/fail-22.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 954s ok 12 /bookmarks/parse/valid-03.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 954s ok 13 /bookmarks/parse/fail-30.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 954s ok 14 /bookmarks/parse/fail-21.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 954s ok 15 /bookmarks/parse/fail-05.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 954s ok 16 /bookmarks/parse/fail-27.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 954s ok 17 /bookmarks/parse/fail-34.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 954s ok 18 /bookmarks/parse/fail-09.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 954s ok 19 /bookmarks/parse/fail-29.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 954s ok 20 /bookmarks/parse/fail-23.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 954s ok 21 /bookmarks/parse/fail-35.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 954s ok 22 /bookmarks/parse/fail-31.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 954s ok 23 /bookmarks/parse/fail-17.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 954s ok 24 /bookmarks/parse/fail-33.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 954s ok 25 /bookmarks/parse/fail-08.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 954s ok 26 /bookmarks/parse/fail-02.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 954s ok 27 /bookmarks/parse/fail-38.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 954s ok 28 /bookmarks/parse/valid-02.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 954s ok 29 /bookmarks/parse/fail-19.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 954s ok 30 /bookmarks/parse/fail-11.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 954s ok 31 /bookmarks/parse/fail-37.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 954s ok 32 /bookmarks/parse/fail-07.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 954s ok 33 /bookmarks/parse/fail-24.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 954s ok 34 /bookmarks/parse/fail-03.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 954s ok 35 /bookmarks/parse/fail-14.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 954s ok 36 /bookmarks/parse/fail-26.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 954s ok 37 /bookmarks/parse/fail-41.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 954s ok 38 /bookmarks/parse/fail-25.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 954s ok 39 /bookmarks/parse/fail-39.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 954s ok 40 /bookmarks/parse/fail-15.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 954s ok 41 /bookmarks/parse/fail-06.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 954s ok 42 /bookmarks/parse/fail-18.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 954s ok 43 /bookmarks/parse/valid-01.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 954s ok 44 /bookmarks/parse/fail-40.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 954s ok 45 /bookmarks/parse/fail-20.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 954s ok 46 /bookmarks/parse/fail-28.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 954s ok 47 /bookmarks/parse/fail-13.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 954s ok 48 /bookmarks/parse/fail-36.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 954s ok 49 /bookmarks/parse/fail-12.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 954s ok 50 /bookmarks/parse/fail-04.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 954s ok 51 /bookmarks/parse/fail-32.xbel 954s # End of parse tests 954s # Start of copy tests 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 954s ok 52 /bookmarks/copy/fail-16.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 954s ok 53 /bookmarks/copy/fail-42.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 954s ok 54 /bookmarks/copy/fail-10.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 954s ok 55 /bookmarks/copy/fail-01.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 954s ok 56 /bookmarks/copy/fail-22.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 954s ok 57 /bookmarks/copy/valid-03.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 954s ok 58 /bookmarks/copy/fail-30.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 954s ok 59 /bookmarks/copy/fail-21.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 954s ok 60 /bookmarks/copy/fail-05.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 954s ok 61 /bookmarks/copy/fail-27.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 954s ok 62 /bookmarks/copy/fail-34.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 954s ok 63 /bookmarks/copy/fail-09.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 954s ok 64 /bookmarks/copy/fail-29.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 954s ok 65 /bookmarks/copy/fail-23.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 954s ok 66 /bookmarks/copy/fail-35.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 954s ok 67 /bookmarks/copy/fail-31.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 954s ok 68 /bookmarks/copy/fail-17.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 954s ok 69 /bookmarks/copy/fail-33.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 954s ok 70 /bookmarks/copy/fail-08.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 954s ok 71 /bookmarks/copy/fail-02.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 954s ok 72 /bookmarks/copy/fail-38.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 954s ok 73 /bookmarks/copy/valid-02.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 954s ok 74 /bookmarks/copy/fail-19.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 954s ok 75 /bookmarks/copy/fail-11.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 954s ok 76 /bookmarks/copy/fail-37.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 954s ok 77 /bookmarks/copy/fail-07.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 954s ok 78 /bookmarks/copy/fail-24.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 954s ok 79 /bookmarks/copy/fail-03.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 954s ok 80 /bookmarks/copy/fail-14.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 954s ok 81 /bookmarks/copy/fail-26.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 954s ok 82 /bookmarks/copy/fail-41.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 954s ok 83 /bookmarks/copy/fail-25.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 954s ok 84 /bookmarks/copy/fail-39.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 954s ok 85 /bookmarks/copy/fail-15.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 954s ok 86 /bookmarks/copy/fail-06.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 954s ok 87 /bookmarks/copy/fail-18.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 954s ok 88 /bookmarks/copy/valid-01.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 954s ok 89 /bookmarks/copy/fail-40.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 954s ok 90 /bookmarks/copy/fail-20.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 954s ok 91 /bookmarks/copy/fail-28.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 954s ok 92 /bookmarks/copy/fail-13.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 954s ok 93 /bookmarks/copy/fail-36.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 954s ok 94 /bookmarks/copy/fail-12.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 954s ok 95 /bookmarks/copy/fail-04.xbel 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_H2IDK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 954s ok 96 /bookmarks/copy/fail-32.xbel 954s # End of copy tests 954s # End of bookmarks tests 954s ok - glib/bookmarkfile.test 954s # Running test: glib/strfuncs.test 954s TAP version 13 954s # random seed: R02S4a245860d8d33d64bee571e741ba2bc6 954s 1..50 954s # Start of strfuncs tests 954s ok 1 /strfuncs/ascii-strcasecmp 954s ok 2 /strfuncs/ascii_strdown 954s ok 3 /strfuncs/ascii_strdup 954s ok 4 /strfuncs/ascii_strtod 954s ok 5 /strfuncs/bounds-check 954s ok 6 /strfuncs/has-prefix 954s ok 7 /strfuncs/has-prefix-macro 954s ok 8 /strfuncs/has-suffix 954s ok 9 /strfuncs/has-suffix-macro 954s ok 10 /strfuncs/memdup 954s ok 11 /strfuncs/memdup2 954s ok 12 /strfuncs/set_str 954s ok 13 /strfuncs/stpcpy 954s ok 14 /strfuncs/str_match_string 954s ok 15 /strfuncs/str_tokenize_and_fold 954s ok 16 /strfuncs/strcanon 954s ok 17 /strfuncs/strchomp 954s ok 18 /strfuncs/strchug 954s ok 19 /strfuncs/strcompress-strescape 954s ok 20 /strfuncs/strconcat 954s ok 21 /strfuncs/strdelimit 954s ok 22 /strfuncs/strdup 954s ok 23 /strfuncs/strdup-printf 954s ok 24 /strfuncs/strdupv 954s ok 25 /strfuncs/strerror 954s ok 26 /strfuncs/strip-context 954s ok 27 /strfuncs/strjoin 954s ok 28 /strfuncs/strjoinv 954s ok 29 /strfuncs/strlcat 954s ok 30 /strfuncs/strlcpy 954s ok 31 /strfuncs/strncasecmp 954s ok 32 /strfuncs/strndup 954s ok 33 /strfuncs/strnfill 954s ok 34 /strfuncs/strreverse 954s ok 35 /strfuncs/strsignal 954s ok 36 /strfuncs/strsplit 954s ok 37 /strfuncs/strsplit-set 954s ok 38 /strfuncs/strstr 954s ok 39 /strfuncs/strtod 954s ok 40 /strfuncs/strtoull-strtoll 954s ok 41 /strfuncs/strup 954s ok 42 /strfuncs/strv-contains 954s ok 43 /strfuncs/strv-equal 954s ok 44 /strfuncs/strv-length 954s ok 45 /strfuncs/test-is-to-digit 954s ok 46 /strfuncs/transliteration 954s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 954s ok 47 /strfuncs/str-equal 954s # Start of ascii-string-to-num tests 954s ok 48 /strfuncs/ascii-string-to-num/pathological 954s ok 49 /strfuncs/ascii-string-to-num/usual 954s # End of ascii-string-to-num tests 954s # Start of strdup tests 954s ok 50 /strfuncs/strdup/inline 954s # End of strdup tests 954s # End of strfuncs tests 954s ok - glib/strfuncs.test 954s # Running test: glib/array-test.test 954s TAP version 13 954s # random seed: R02S0462cb983ace63396593624a71b8e03e 954s 1..113 954s # Start of array tests 954s ok 1 /array/ref-count 954s ok 2 /array/steal 954s ok 3 /array/clear-func 954s ok 4 /array/binary-search 954s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 954s ok 5 /array/copy-sized 954s ok 6 /array/overflow-append-vals 954s ok 7 /array/overflow-set-size 954s # Start of new tests 954s ok 8 /array/new/zero-terminated 954s ok 9 /array/new/take 954s ok 10 /array/new/take-zero-terminated 954s # Start of take tests 954s ok 11 /array/new/take/empty 954s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 954s # End of take tests 954s # End of new tests 954s # Start of set-size tests 954s ok 13 /array/set-size/non-zero-terminated-no-clear 954s ok 14 /array/set-size/non-zero-terminated-clear 954s ok 15 /array/set-size/zero-terminated-no-clear 954s ok 16 /array/set-size/zero-terminated-clear 954s # Start of sized tests 954s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 954s ok 18 /array/set-size/sized/non-zero-terminated-clear 954s ok 19 /array/set-size/sized/zero-terminated-no-clear 954s ok 20 /array/set-size/sized/zero-terminated-clear 954s # End of sized tests 954s # End of set-size tests 954s # Start of append-val tests 954s ok 21 /array/append-val/non-zero-terminated-no-clear 954s ok 22 /array/append-val/non-zero-terminated-clear 954s ok 23 /array/append-val/zero-terminated-no-clear 954s ok 24 /array/append-val/zero-terminated-clear 954s # End of append-val tests 954s # Start of prepend-val tests 954s ok 25 /array/prepend-val/non-zero-terminated-no-clear 954s ok 26 /array/prepend-val/non-zero-terminated-clear 954s ok 27 /array/prepend-val/zero-terminated-no-clear 954s ok 28 /array/prepend-val/zero-terminated-clear 954s # End of prepend-val tests 954s # Start of prepend-vals tests 954s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 954s ok 30 /array/prepend-vals/non-zero-terminated-clear 954s ok 31 /array/prepend-vals/zero-terminated-no-clear 954s ok 32 /array/prepend-vals/zero-terminated-clear 954s # End of prepend-vals tests 954s # Start of insert-vals tests 954s ok 33 /array/insert-vals/non-zero-terminated-no-clear 954s ok 34 /array/insert-vals/non-zero-terminated-clear 954s ok 35 /array/insert-vals/zero-terminated-no-clear 954s ok 36 /array/insert-vals/zero-terminated-clear 954s # End of insert-vals tests 954s # Start of remove-index tests 954s ok 37 /array/remove-index/non-zero-terminated-no-clear 954s ok 38 /array/remove-index/non-zero-terminated-clear 954s ok 39 /array/remove-index/zero-terminated-no-clear 954s ok 40 /array/remove-index/zero-terminated-clear 954s # End of remove-index tests 954s # Start of remove-index-fast tests 954s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 954s ok 42 /array/remove-index-fast/non-zero-terminated-clear 954s ok 43 /array/remove-index-fast/zero-terminated-no-clear 954s ok 44 /array/remove-index-fast/zero-terminated-clear 954s # End of remove-index-fast tests 954s # Start of remove-range tests 954s ok 45 /array/remove-range/non-zero-terminated-no-clear 954s ok 46 /array/remove-range/non-zero-terminated-clear 954s ok 47 /array/remove-range/zero-terminated-no-clear 954s ok 48 /array/remove-range/zero-terminated-clear 954s # End of remove-range tests 954s # Start of copy tests 954s ok 49 /array/copy/non-zero-terminated-no-clear 954s ok 50 /array/copy/non-zero-terminated-clear 954s ok 51 /array/copy/zero-terminated-no-clear 954s ok 52 /array/copy/zero-terminated-clear 954s # End of copy tests 954s # Start of sort tests 954s ok 53 /array/sort/non-zero-terminated-no-clear 954s ok 54 /array/sort/non-zero-terminated-clear 954s ok 55 /array/sort/zero-terminated-no-clear 954s ok 56 /array/sort/zero-terminated-clear 954s # End of sort tests 954s # Start of sort-with-data tests 954s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 954s ok 58 /array/sort-with-data/non-zero-terminated-clear 954s ok 59 /array/sort-with-data/zero-terminated-no-clear 954s ok 60 /array/sort-with-data/zero-terminated-clear 954s # End of sort-with-data tests 954s # End of array tests 954s # Start of pointerarray tests 954s ok 61 /pointerarray/add 954s ok 62 /pointerarray/insert 954s ok 63 /pointerarray/new-take 954s ok 64 /pointerarray/new-take-null-terminated 954s ok 65 /pointerarray/new-from-array 954s ok 66 /pointerarray/new-from-null-terminated-array 954s ok 67 /pointerarray/free-func 954s ok 68 /pointerarray/array_extend_and_steal 954s ok 69 /pointerarray/sort 954s ok 70 /pointerarray/sort-with-data 954s ok 71 /pointerarray/sort-values 954s ok 72 /pointerarray/sort-values-with-data 954s ok 73 /pointerarray/remove-range 954s ok 74 /pointerarray/steal 954s # Start of free tests 954s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 954s ok 75 /pointerarray/free/null-terminated 954s # End of free tests 954s # Start of new-take tests 954s ok 76 /pointerarray/new-take/empty 954s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 954s ok 78 /pointerarray/new-take/with-free-func 954s # End of new-take tests 954s # Start of new-take-null-terminated tests 954s ok 79 /pointerarray/new-take-null-terminated/empty 954s ok 80 /pointerarray/new-take-null-terminated/with-free-func 954s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 954s # End of new-take-null-terminated tests 954s # Start of new-from-array tests 954s ok 82 /pointerarray/new-from-array/empty 954s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 954s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 954s # End of new-from-array tests 954s # Start of new-from-null-terminated-array tests 954s ok 85 /pointerarray/new-from-null-terminated-array/empty 954s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 954s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 954s # End of new-from-null-terminated-array tests 954s # Start of ref-count tests 954s ok 88 /pointerarray/ref-count/not-null-terminated 954s ok 89 /pointerarray/ref-count/null-terminated 954s # End of ref-count tests 954s # Start of array_copy tests 954s # /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 954s ok 90 /pointerarray/array_copy/not-null-terminated 954s # /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 954s ok 91 /pointerarray/array_copy/null-terminated 954s # End of array_copy tests 954s # Start of array_extend tests 954s ok 92 /pointerarray/array_extend/not-null-terminated 954s ok 93 /pointerarray/array_extend/null-terminated 954s # End of array_extend tests 954s # Start of sort tests 954s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 954s ok 94 /pointerarray/sort/example 954s # End of sort tests 954s # Start of sort-with-data tests 954s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 954s ok 95 /pointerarray/sort-with-data/example 954s # End of sort-with-data tests 954s # Start of sort-values tests 954s ok 96 /pointerarray/sort-values/example 954s # End of sort-values tests 954s # Start of sort-values-with-data tests 954s ok 97 /pointerarray/sort-values-with-data/example 954s # End of sort-values-with-data tests 954s # Start of find tests 954s ok 98 /pointerarray/find/empty 954s ok 99 /pointerarray/find/non-empty 954s # End of find tests 954s # Start of steal_index tests 954s ok 100 /pointerarray/steal_index/not-null-terminated 954s ok 101 /pointerarray/steal_index/null-terminated 954s # End of steal_index tests 954s # End of pointerarray tests 954s # Start of bytearray tests 954s ok 102 /bytearray/steal 954s ok 103 /bytearray/append 954s ok 104 /bytearray/prepend 954s ok 105 /bytearray/remove 954s ok 106 /bytearray/remove-fast 954s ok 107 /bytearray/remove-range 954s ok 108 /bytearray/ref-count 954s ok 109 /bytearray/sort 954s ok 110 /bytearray/sort-with-data 954s ok 111 /bytearray/new-take 954s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 954s ok 113 /bytearray/free-to-bytes 954s # End of bytearray tests 954s ok - glib/array-test.test 954s # Running test: glib/logging.test 954s TAP version 13 954s # random seed: R02S2d61ef29b38e6cef600e5a77e20a6f30 954s 1..17 954s # Start of logging tests 955s ok 1 /logging/default-handler 955s # slow test /logging/default-handler executed in 0.88 secs 955s ok 2 /logging/warnings 955s ok 3 /logging/fatal-log-mask 955s # bu-DEBUG: message 955s # ba-DEBUG: message 955s # ba-INFO: message 955s ok 4 /logging/set-handler 955s ok 5 /logging/print-handler 955s ok 6 /logging/printerr-handler 955s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 955s # The Log Message Handler 955s # 955s # The Good Fail Message Handler 955s # 955s ok 7 /logging/653052 955s ok 8 /logging/gibberish 955s # Start of default-handler tests 955s # Start of subprocess tests 955s # End of subprocess tests 955s # End of default-handler tests 955s # End of logging tests 955s # Start of structured-logging tests 955s ok 9 /structured-logging/no-state 955s ok 10 /structured-logging/some-state 955s ok 11 /structured-logging/robustness 955s ok 12 /structured-logging/roundtrip1 955s ok 13 /structured-logging/roundtrip2 955s ok 14 /structured-logging/roundtrip3 955s ok 15 /structured-logging/variant1 955s ok 16 /structured-logging/variant2 955s ok 17 /structured-logging/set-writer-func-twice 955s # End of structured-logging tests 955s ok - glib/logging.test 955s # Running test: glib/buffered-output-stream.test 955s TAP version 13 955s # random seed: R02S52eb8e940b72030c2e68059c298b0f30 955s 1..5 955s # Start of buffered-output-stream tests 955s ok 1 /buffered-output-stream/write 955s ok 2 /buffered-output-stream/grow 955s ok 3 /buffered-output-stream/seek 955s ok 4 /buffered-output-stream/truncate 955s # End of buffered-output-stream tests 955s # Start of filter-output-stream tests 955s ok 5 /filter-output-stream/close 955s # End of filter-output-stream tests 955s ok - glib/buffered-output-stream.test 955s # Running test: glib/completion.test 955s TAP version 13 955s # random seed: R02S6a8060da6c5e6f46951f5573a0d0b5be 955s 1..1 955s # Start of completion tests 955s ok 1 /completion/test-completion 955s # End of completion tests 955s ok - glib/completion.test 955s # Running test: glib/timer.test 955s TAP version 13 955s # random seed: R02S28a88f41a9a67a2c50436a48dbeeeade 955s 1..10 955s # Start of timer tests 955s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 955s ok 2 /timer/stop 955s ok 3 /timer/continue 955s ok 4 /timer/reset 955s ok 5 /timer/is_active 955s # End of timer tests 955s # Start of timeval tests 955s ok 6 /timeval/add 955s ok 7 /timeval/from-iso8601 955s ok 8 /timeval/to-iso8601 955s # Start of to-iso8601 tests 955s ok 9 /timeval/to-iso8601/overflow 955s # End of to-iso8601 tests 955s # End of timeval tests 955s # Start of usleep tests 955s ok 10 /usleep/with-zero-wait 955s # End of usleep tests 955s ok - glib/timer.test 955s # Running test: glib/gdbus-connection-loss.test 955s TAP version 13 955s # random seed: R02S1207fccf1e0894ee686139b93e2b64b0 955s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 955s 1..1 955s # Start of gdbus tests 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_FZU9J2/gdbus/connection-loss/.dirs/runtime 955s ok 1 /gdbus/connection-loss 955s # End of gdbus tests 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s ok - glib/gdbus-connection-loss.test 955s # Running test: glib/gdbus-method-invocation.test 955s TAP version 13 955s # random seed: R02S0c606b93769408e545c8c577f0dcfe68 955s 1..1 955s # Start of gdbus tests 955s # Start of method-invocation tests 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_SRI4J2/gdbus/method-invocation/return/.dirs/runtime 955s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 955s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 955s # Calling org.freedesktop.DBus.Properties.Get 955s # Calling org.freedesktop.DBus.Properties.Get 955s # Calling org.freedesktop.DBus.Properties.Get 955s # Calling org.freedesktop.DBus.Properties.Set 955s # Calling org.freedesktop.DBus.Properties.GetAll 955s # Calling org.example.Foo.WrongReturnType 955s # Calling org.example.Foo.GetFDs 955s # Calling org.example.Foo.GetFDs 955s # Calling org.example.Foo.ReturnError 955s # Calling org.example.Foo.CloseBeforeReturning 955s ok 1 /gdbus/method-invocation/return 955s # End of method-invocation tests 955s # End of gdbus tests 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 955s ok - glib/gdbus-method-invocation.test 955s # Running test: glib/signals.test 955s TAP version 13 955s # random seed: R02S062e89ca872db399422948363a9c1dca 955s 1..31 955s # Start of gobject tests 955s # Start of signals tests 955s ok 1 /gobject/signals/all-types 955s ok 2 /gobject/signals/variant 955s ok 3 /gobject/signals/destroy-target-object 955s ok 4 /gobject/signals/generic-marshaller-1 955s ok 5 /gobject/signals/generic-marshaller-2 955s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 955s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 955s ok 8 /gobject/signals/generic-marshaller-int-return 955s ok 9 /gobject/signals/generic-marshaller-uint-return 955s ok 10 /gobject/signals/generic-marshaller-interface-return 955s ok 11 /gobject/signals/custom-marshaller 955s ok 12 /gobject/signals/connect 955s ok 13 /gobject/signals/emission-hook 955s ok 14 /gobject/signals/emitv 955s ok 15 /gobject/signals/accumulator 955s # Signal: accumulator-class-first 955s # Signal: accumulator-class-last 955s # Signal: accumulator-class-cleanup 955s # Signal: accumulator-class-first-last 955s # Signal: accumulator-class-first-last-cleanup 955s # Signal: accumulator-class-last-cleanup 955s ok 16 /gobject/signals/accumulator-class 955s ok 17 /gobject/signals/introspection 955s ok 18 /gobject/signals/block-handler 955s ok 19 /gobject/signals/stop-emission 955s ok 20 /gobject/signals/invocation-hint 955s ok 21 /gobject/signals/test-disconnection-wrong-object 955s ok 22 /gobject/signals/clear-signal-handler 955s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 955s ok 23 /gobject/signals/lookup 955s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 955s ok 24 /gobject/signals/parse-name 955s ok 25 /gobject/signals/is-valid-name 955s ok 26 /gobject/signals/weak-ref-disconnect 955s # Start of lookup tests 955s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 955s ok 27 /gobject/signals/lookup/invalid 955s # End of lookup tests 955s # Start of parse-name tests 955s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 955s # Parser input: 955s # Parser input: 7zip 955s # Parser input: invalid:signal 955s # Parser input: simple-detailed:: 955s # Parser input: simple-detailed: 955s # Parser input: : 955s # Parser input: :: 955s # Parser input: :valid-detail 955s # Parser input: ::valid-detail 955s ok 28 /gobject/signals/parse-name/invalid 955s # End of parse-name tests 955s # Start of invalid-name tests 955s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 955s ok 29 /gobject/signals/invalid-name/colon 955s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 955s ok 30 /gobject/signals/invalid-name/first-char 955s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 955s ok 31 /gobject/signals/invalid-name/empty 955s # End of invalid-name tests 955s # End of signals tests 955s # End of gobject tests 955s ok - glib/signals.test 955s # Running test: glib/mount-operation.test 955s TAP version 13 955s # random seed: R02S9a6a808a2bbe9d5062d9d0b6e9134ba2 955s 1..2 955s # Start of mount-operation tests 955s ok 1 /mount-operation/construction 955s ok 2 /mount-operation/properties 955s # End of mount-operation tests 955s ok - glib/mount-operation.test 955s # Running test: glib/asyncqueue.test 955s TAP version 13 955s # random seed: R02Sc3fc95e98ff026338819eab339914d52 955s 1..7 955s # Start of asyncqueue tests 955s ok 1 /asyncqueue/basics 955s ok 2 /asyncqueue/sort 955s ok 3 /asyncqueue/destroy 955s ok 4 /asyncqueue/threads 956s # Executing: glib/asyncqueue.test 956s ok 5 /asyncqueue/timed 956s ok 6 /asyncqueue/remove 956s ok 7 /asyncqueue/push_front 956s # End of asyncqueue tests 956s ok - glib/asyncqueue.test 956s # Running test: glib/sequence.test 956s TAP version 13 956s # random seed: R02S0f76d7db5857156f0b4dd4f7b58340a7 956s 1..16 956s # Start of sequence tests 956s ok 1 /sequence/out-of-range-jump 956s ok 2 /sequence/iter-move 956s ok 3 /sequence/insert-sorted-non-pointer 956s ok 4 /sequence/stable-sort 956s ok 5 /sequence/is_empty 956s # Start of random tests 956s ok 6 /sequence/random/seed:825541564 956s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 957s ok 7 /sequence/random/seed:801678400 957s # slow test /sequence/random/seed:801678400 executed in 0.53 secs 957s ok 8 /sequence/random/seed:1477639090 957s # slow test /sequence/random/seed:1477639090 executed in 0.55 secs 958s ok 9 /sequence/random/seed:3369132895 958s # slow test /sequence/random/seed:3369132895 executed in 0.51 secs 958s ok 10 /sequence/random/seed:1192944867 958s # slow test /sequence/random/seed:1192944867 executed in 0.53 secs 959s ok 11 /sequence/random/seed:770458294 959s # slow test /sequence/random/seed:770458294 executed in 0.55 secs 960s ok 12 /sequence/random/seed:1099575817 960s # slow test /sequence/random/seed:1099575817 executed in 0.53 secs 960s ok 13 /sequence/random/seed:590523467 960s # slow test /sequence/random/seed:590523467 executed in 0.56 secs 961s # Executing: glib/sequence.test 961s ok 14 /sequence/random/seed:3583571454 961s # slow test /sequence/random/seed:3583571454 executed in 0.62 secs 961s ok 15 /sequence/random/seed:579241222 961s # slow test /sequence/random/seed:579241222 executed in 0.56 secs 962s ok 16 /sequence/random/seed:1386613473 962s # slow test /sequence/random/seed:1386613473 executed in 0.57 secs 962s # End of random tests 962s # End of sequence tests 962s ok - glib/sequence.test 962s # Running test: glib/properties-refcount4.test 962s TAP version 13 962s # random seed: R02S75e01a4f4846cebf0dd2d5ae79e11e47 962s 1..1 962s # Start of gobject tests 962s # Start of refcount tests 962s ok 1 /gobject/refcount/properties-4 962s # End of refcount tests 962s # End of gobject tests 962s ok - glib/properties-refcount4.test 962s # Running test: glib/permission.test 962s TAP version 13 962s # random seed: R02S321e1aa1a27bb813473acad58bbad626 962s 1..1 962s # Start of permission tests 962s ok 1 /permission/simple 962s # End of permission tests 962s ok - glib/permission.test 962s # Running test: glib/network-monitor.test 962s TAP version 13 962s # random seed: R02S5d4054bcd152a0ca49ad2a20efbeca8e 962s 1..4 962s # Start of network-monitor tests 962s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 962s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 962s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 962s ok 1 /network-monitor/default 962s ok 2 /network-monitor/remove_default 962s ok 3 /network-monitor/add_networks 962s ok 4 /network-monitor/remove_networks 962s # End of network-monitor tests 962s ok - glib/network-monitor.test 962s # Running test: glib/pollable.test 962s TAP version 13 962s # random seed: R02S3f6989fc59c293036e53123c64865da1 962s 1..6 962s # Start of pollable tests 962s ok 1 /pollable/converter 962s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 962s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb6555b6b2760 and GSocketClientAsyncConnectData 0xb6555b6a5ad0 962s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 962s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 962s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb6555b6b3820 for GSocketClientAsyncConnectData 0xb6555b6a5ad0 962s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 962s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 962s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 962s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 962s ok 2 /pollable/socket 962s # Start of unix tests 962s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 962s ok 3 /pollable/unix/pipe 962s # /pollable/unix/pty summary: Test that PTYs are considered pollable 962s ok 4 /pollable/unix/pty 962s # /pollable/unix/file summary: Test that regular files are not considered pollable 962s ok 5 /pollable/unix/file 962s # /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 962s ok 6 /pollable/unix/nulldev 962s # End of unix tests 962s # End of pollable tests 962s ok - glib/pollable.test 962s # Running test: glib/gdbus-connection-slow.test 962s TAP version 13 962s # random seed: R02S227b559a20c4134d6f80e7467c41491a 962s 1..2 962s # Start of gdbus tests 962s # Start of connection tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/flush/.dirs/runtime 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 1 /gdbus/connection/flush 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_F3L3J2/gdbus/connection/large_message/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 2 /gdbus/connection/large_message 963s # End of connection tests 963s # End of gdbus tests 963s ok - glib/gdbus-connection-slow.test 963s # Running test: glib/utf8-performance.test 963s TAP version 13 963s # random seed: R02S35af761885f7fea38197e70f5a2df03a 963s 1..36 963s # Start of utf8 tests 963s # Start of perf tests 963s # Start of get_char tests 963s # max perf: 43.0 MB/s 963s ok 1 /utf8/perf/get_char/ascii 963s # max perf: inf MB/s 963s ok 2 /utf8/perf/get_char/latin1 963s # max perf: inf MB/s 963s ok 3 /utf8/perf/get_char/cyrillic 963s # max perf: inf MB/s 963s ok 4 /utf8/perf/get_char/han 963s # End of get_char tests 963s # Start of get_char-backwards tests 963s # max perf: inf MB/s 963s ok 5 /utf8/perf/get_char-backwards/ascii 963s # max perf: inf MB/s 963s ok 6 /utf8/perf/get_char-backwards/latin1 963s # max perf: 160.0 MB/s 963s ok 7 /utf8/perf/get_char-backwards/cyrillic 963s # max perf: inf MB/s 963s ok 8 /utf8/perf/get_char-backwards/han 963s # End of get_char-backwards tests 963s # Start of get_char_validated tests 963s # max perf: inf MB/s 963s ok 9 /utf8/perf/get_char_validated/ascii 963s # max perf: inf MB/s 963s ok 10 /utf8/perf/get_char_validated/latin1 963s # max perf: inf MB/s 963s ok 11 /utf8/perf/get_char_validated/cyrillic 963s # max perf: inf MB/s 963s ok 12 /utf8/perf/get_char_validated/han 963s # End of get_char_validated tests 963s # Start of utf8_to_ucs4 tests 963s # max perf: 43.0 MB/s 963s ok 13 /utf8/perf/utf8_to_ucs4/ascii 963s # max perf: 67.0 MB/s 963s ok 14 /utf8/perf/utf8_to_ucs4/latin1 963s # max perf: 160.0 MB/s 963s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 963s # max perf: 156.0 MB/s 963s ok 16 /utf8/perf/utf8_to_ucs4/han 963s # End of utf8_to_ucs4 tests 963s # Start of utf8_to_ucs4-sized tests 963s # max perf: inf MB/s 963s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 963s # max perf: inf MB/s 963s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 963s # max perf: 160.0 MB/s 963s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 963s # max perf: 156.0 MB/s 963s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 963s # End of utf8_to_ucs4-sized tests 963s # Start of utf8_to_ucs4_fast tests 963s # max perf: 43.0 MB/s 963s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 963s # max perf: 67.0 MB/s 963s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 963s # max perf: 160.0 MB/s 963s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 963s # max perf: inf MB/s 963s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 963s # End of utf8_to_ucs4_fast tests 963s # Start of utf8_to_ucs4_fast-sized tests 963s # max perf: inf MB/s 963s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 963s # max perf: 67.0 MB/s 963s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 963s # max perf: 160.0 MB/s 963s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 963s # max perf: 156.0 MB/s 963s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 963s # End of utf8_to_ucs4_fast-sized tests 963s # Start of utf8_validate tests 963s # max perf: inf MB/s 963s ok 29 /utf8/perf/utf8_validate/ascii 963s # max perf: 67.0 MB/s 963s ok 30 /utf8/perf/utf8_validate/latin1 963s # max perf: 160.0 MB/s 963s ok 31 /utf8/perf/utf8_validate/cyrillic 963s # max perf: inf MB/s 963s ok 32 /utf8/perf/utf8_validate/han 963s # End of utf8_validate tests 963s # Start of utf8_validate-sized tests 963s # max perf: 43.0 MB/s 963s ok 33 /utf8/perf/utf8_validate-sized/ascii 963s # max perf: inf MB/s 963s ok 34 /utf8/perf/utf8_validate-sized/latin1 963s # max perf: inf MB/s 963s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 963s # max perf: inf MB/s 963s ok 36 /utf8/perf/utf8_validate-sized/han 963s # End of utf8_validate-sized tests 963s # End of perf tests 963s # End of utf8 tests 963s ok - glib/utf8-performance.test 963s # Running test: glib/unicode-encoding.test 963s TAP version 13 963s # random seed: R02Sf700e3de593f62ce38dc36c87bcd210e 963s 1..1 963s # Start of unicode tests 963s ok 1 /unicode/encoding 963s # End of unicode tests 963s ok - glib/unicode-encoding.test 963s # Running test: glib/fdo-notification-backend.test 963s TAP version 13 963s # random seed: R02S9b2356f701671ff6598c59f5a0aaf4f5 963s 1..2 963s # Start of fdo-notification-backend tests 963s # Test constructing a GFdoNotificationBackend 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 1 /fdo-notification-backend/construction 963s # Start of dbus tests 963s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 2 /fdo-notification-backend/dbus/activate-action 963s # End of dbus tests 963s # End of fdo-notification-backend tests 963s ok - glib/fdo-notification-backend.test 963s # Running test: glib/reference.test 963s TAP version 13 963s # random seed: R02Sd181e9d108ee173e1f19f86c8eb6ae54 963s 1..29 963s # Start of type tests 963s ok 1 /type/fundamentals 963s ok 2 /type/qdata 963s ok 3 /type/query 963s ok 4 /type/class-private 963s # End of type tests 963s # Start of object tests 963s ok 5 /object/clear 963s ok 6 /object/clear-function 963s ok 7 /object/set 963s ok 8 /object/set-function 963s ok 9 /object/value 963s ok 10 /object/initially-unowned 963s ok 11 /object/weak-pointer 963s ok 12 /object/weak-ref 963s ok 13 /object/toggle-ref 963s ok 14 /object/qdata 963s ok 15 /object/qdata2 963s # Start of set tests 963s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 963s ok 16 /object/set/derived-type 963s # End of set tests 963s # Start of weak-pointer tests 963s ok 17 /object/weak-pointer/clear 963s ok 18 /object/weak-pointer/clear-function 963s ok 19 /object/weak-pointer/set 963s ok 20 /object/weak-pointer/set-function 963s # End of weak-pointer tests 963s # Start of weak-ref tests 963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 963s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 963s ok 21 /object/weak-ref/on-dispose 963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 963s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 963s ok 22 /object/weak-ref/on-run-dispose 963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 963s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 963s ok 23 /object/weak-ref/on-toggle-notify 963s ok 24 /object/weak-ref/in-toggle-notify 963s ok 25 /object/weak-ref/many 963s # Start of concurrent tests 963s ok 26 /object/weak-ref/concurrent/0 963s ok 27 /object/weak-ref/concurrent/1 963s # End of concurrent tests 963s # End of weak-ref tests 963s # Start of toggle-ref tests 963s ok 28 /object/toggle-ref/ref-on-dispose 963s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 963s # End of toggle-ref tests 963s # End of object tests 963s ok - glib/reference.test 963s # Running test: glib/cxx-11.test 963s TAP version 13 963s # random seed: R02S21d7d56b578f0ad521437fb4414f2d92 963s 1..2 963s # Start of gtask tests 963s # 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. 963s ok 1 /gtask/name 963s # Start of name tests 963s # 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. 963s ok 2 /gtask/name/macro-wrapper 963s # End of name tests 963s # End of gtask tests 963s ok - glib/cxx-11.test 963s # Running test: glib/basics-gobject.test 963s TAP version 13 963s # random seed: R02Se12a23c6d8b243c63c05c46321b42ec1 963s 1..1 963s # Start of gobject tests 963s # private data during initialization: 54321 == 54321 963s # MAIN: emit test-signal: 963s # ::test_signal default_handler called 963s # ::test_signal default_handler called 963s # ::test_signal default_handler called 963s # signal return: "" 963s # MAIN: call iface print-string on test and derived object: 963s # Iface-FOO: "iface-string-from-test-type" from 0xbec03595d7a0 963s # Iface-BAR: "iface-string-from-derived-type" from 0xbec03595d6c0 963s # chaining: 963s # Iface-FOO: "iface-string-from-derived-type" from 0xbec03595d6c0 963s # private data after initialization: 54321 == 54321 963s ok 1 /gobject/basics 963s # End of gobject tests 963s ok - glib/basics-gobject.test 963s # Running test: glib/threadtests.test 963s TAP version 13 963s # random seed: R02S24bbc1f0db8fad0abf7474397f66058e 963s 1..5 963s # Start of GObject tests 963s ok 1 /GObject/threaded-object-init 964s ok 2 /GObject/threaded-weak-ref 964s # slow test /GObject/threaded-weak-ref executed in 0.66 secs 964s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 964s # /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 964s ok 3 /GObject/threaded-toggle-notify 964s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 964s # Start of threaded-weak-ref tests 964s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 964s # /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. 964s ok 5 /GObject/threaded-weak-ref/on-finalization 964s # End of threaded-weak-ref tests 964s # End of GObject tests 964s ok - glib/threadtests.test 964s # Running test: glib/atomic-c-99.test 964s TAP version 13 964s # random seed: R02Sa710c642af1f75fec9e672fe074f96fa 964s 1..2 964s # Start of atomic tests 964s ok 1 /atomic/types 964s ok 2 /atomic/threaded 964s # End of atomic tests 964s ok - glib/atomic-c-99.test 964s # Running test: glib/overflow.test 964s TAP version 13 964s # random seed: R02S5386a3fb43b7beff327a8ebdb03c8f39 964s 1..6 964s # Start of glib tests 964s # Start of checked-math tests 964s ok 1 /glib/checked-math/guint-add 964s ok 2 /glib/checked-math/guint-mul 964s ok 3 /glib/checked-math/guint64-add 964s ok 4 /glib/checked-math/guint64-mul 964s ok 5 /glib/checked-math/gsize-add 964s ok 6 /glib/checked-math/gsize-mul 964s # End of checked-math tests 964s # End of glib tests 964s ok - glib/overflow.test 964s # Running test: glib/ifaceproperties.test 964s TAP version 13 964s # random seed: R02S36948122c836a5e508863103f5edb3ff 964s 1..7 964s # Start of interface tests 964s # Start of properties tests 964s ok 1 /interface/properties/set 964s ok 2 /interface/properties/notify 964s ok 3 /interface/properties/find-overridden 964s ok 4 /interface/properties/list-overridden 964s ok 5 /interface/properties/find-interface 964s ok 6 /interface/properties/list-interface 964s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 964s ok 7 /interface/properties/not-overridden 964s # End of properties tests 964s # End of interface tests 964s ok - glib/ifaceproperties.test 964s # Running test: glib/gsocketclient-slow.test 964s TAP version 13 964s # random seed: R02Sbff66831027407d3dfdc6db859cabccb 964s 1..3 964s # Start of socket-client tests 964s # Start of happy-eyeballs tests 964s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 964s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbaed4a93faf0 and GSocketClientAsyncConnectData 0xbaed4a9392b0 964s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 964s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 964s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbaed4a941200 for GSocketClientAsyncConnectData 0xbaed4a9392b0 964s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 965s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 965s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 965s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 965s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 965s ok 1 /socket-client/happy-eyeballs/slow 965s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 965s # Start of cancellation tests 965s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbaed4a944950 and GSocketClientAsyncConnectData 0xbaed4a940a10 965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 965s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 965s ok 2 /socket-client/happy-eyeballs/cancellation/instant 965s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbaed4a943710 and GSocketClientAsyncConnectData 0xbaed4a9392b0 965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 965s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 965s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbaed4a945540 for GSocketClientAsyncConnectData 0xbaed4a9392b0 965s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 965s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 965s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 965s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 965s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 965s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 965s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 965s # End of cancellation tests 965s # End of happy-eyeballs tests 965s # End of socket-client tests 965s ok - glib/gsocketclient-slow.test 965s # Running test: glib/flags.test 965s TAP version 13 965s # random seed: R02S3910e01c6e84f41b3cd2ae38fc10876e 965s 1..1 965s # Start of gobject tests 965s # Start of flags tests 965s ok 1 /gobject/flags/validate 965s # End of flags tests 965s # End of gobject tests 965s ok - glib/flags.test 965s # Running test: glib/static-link.test 965s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 965s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 965s and make sure you have glib build dependencies installed, including 965s meson. 965s ok # SKIP - glib/static-link.test 965s # Running test: glib/date.test 965s TAP version 13 965s # random seed: R02S93eb6218bc060f64dc62655d38ae86ad 965s 1..121 965s # Start of date tests 965s ok 1 /date/basic 965s ok 2 /date/empty 965s ok 3 /date/dmy 965s ok 4 /date/julian 965s ok 5 /date/compare 965s ok 6 /date/dates 965s ok 7 /date/strftime 965s ok 8 /date/two-digit-years 965s ok 9 /date/parse 965s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 965s ok 11 /date/month_substring 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 965s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 965s ok 13 /date/clamp 965s ok 14 /date/order 965s ok 15 /date/copy 965s # Vector 0: 0000-00-00, invalid 965s # Vector 1: 0001-01-01, valid 965s # Vector 2: 0000-01-01, invalid 965s # Vector 3: 2000-02-30, invalid 965s # Vector 4: 2000-02-29, valid 965s # Vector 5: 2001-02-29, invalid 965s # Vector 6: 65535-01-01, valid 965s ok 16 /date/valid-dmy 965s # Start of parse tests 965s # Test 0 965s # Test 1 965s ok 17 /date/parse/invalid 965s # End of parse tests 965s # Start of year tests 965s ok 18 /date/year/1 965s ok 19 /date/year/2 965s ok 20 /date/year/3 965s ok 21 /date/year/4 965s ok 22 /date/year/5 965s ok 23 /date/year/6 965s ok 24 /date/year/7 965s ok 25 /date/year/8 965s ok 26 /date/year/9 965s ok 27 /date/year/10 965s ok 28 /date/year/11 965s ok 29 /date/year/12 965s ok 30 /date/year/13 965s ok 31 /date/year/14 965s ok 32 /date/year/98 965s ok 33 /date/year/99 965s ok 34 /date/year/100 965s ok 35 /date/year/101 965s ok 36 /date/year/102 965s ok 37 /date/year/103 965s ok 38 /date/year/397 965s ok 39 /date/year/398 965s ok 40 /date/year/399 965s ok 41 /date/year/400 966s ok 42 /date/year/401 966s # Executing: glib/date.test 966s ok 43 /date/year/402 966s ok 44 /date/year/403 966s ok 45 /date/year/404 966s ok 46 /date/year/405 966s ok 47 /date/year/406 966s ok 48 /date/year/1598 966s ok 49 /date/year/1599 966s ok 50 /date/year/1600 966s ok 51 /date/year/1601 966s ok 52 /date/year/1602 966s ok 53 /date/year/1650 966s ok 54 /date/year/1651 966s ok 55 /date/year/1897 966s ok 56 /date/year/1898 966s ok 57 /date/year/1899 966s ok 58 /date/year/1900 966s ok 59 /date/year/1901 966s ok 60 /date/year/1902 966s ok 61 /date/year/1903 966s ok 62 /date/year/1961 966s ok 63 /date/year/1962 966s ok 64 /date/year/1963 966s ok 65 /date/year/1964 966s ok 66 /date/year/1965 966s ok 67 /date/year/1967 966s ok 68 /date/year/1968 966s ok 69 /date/year/1969 966s ok 70 /date/year/1970 966s ok 71 /date/year/1971 966s ok 72 /date/year/1972 966s ok 73 /date/year/1973 966s ok 74 /date/year/1974 966s ok 75 /date/year/1975 966s ok 76 /date/year/1976 966s ok 77 /date/year/1977 966s ok 78 /date/year/1978 966s ok 79 /date/year/1979 966s ok 80 /date/year/1980 966s ok 81 /date/year/1981 966s ok 82 /date/year/1982 966s ok 83 /date/year/1983 966s ok 84 /date/year/1984 966s ok 85 /date/year/1985 966s ok 86 /date/year/1986 966s ok 87 /date/year/1987 966s ok 88 /date/year/1988 966s ok 89 /date/year/1989 966s ok 90 /date/year/1990 966s ok 91 /date/year/1991 966s ok 92 /date/year/1992 966s ok 93 /date/year/1993 966s ok 94 /date/year/1994 966s ok 95 /date/year/1995 966s ok 96 /date/year/1996 966s ok 97 /date/year/1997 966s ok 98 /date/year/1998 966s ok 99 /date/year/1999 966s ok 100 /date/year/2000 966s ok 101 /date/year/2001 966s ok 102 /date/year/2002 966s ok 103 /date/year/2003 966s ok 104 /date/year/2004 966s ok 105 /date/year/2005 966s ok 106 /date/year/2006 966s ok 107 /date/year/2007 966s ok 108 /date/year/2008 966s ok 109 /date/year/2009 966s ok 110 /date/year/2010 966s ok 111 /date/year/2011 966s ok 112 /date/year/2012 966s ok 113 /date/year/3000 966s ok 114 /date/year/3001 966s ok 115 /date/year/3002 966s ok 116 /date/year/3998 966s ok 117 /date/year/3999 966s ok 118 /date/year/4000 966s ok 119 /date/year/4001 966s ok 120 /date/year/4002 966s ok 121 /date/year/4003 966s # End of year tests 966s # End of date tests 966s ok - glib/date.test 966s # Running test: glib/file-thumbnail.test 966s TAP version 13 966s # random seed: R02S09b5baef328c55e3465a9fe11bc405e6 966s 1..7 966s # Start of file-thumbnail tests 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/runtime 966s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 966s ok 1 /file-thumbnail/fail 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/runtime 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 966s ok 2 /file-thumbnail/size-priority 966s # Start of valid tests 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/runtime 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 966s ok 3 /file-thumbnail/valid/normal 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/runtime 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 966s ok 4 /file-thumbnail/valid/large 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/runtime 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 966s ok 5 /file-thumbnail/valid/x-large 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/runtime 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 966s ok 6 /file-thumbnail/valid/xx-large 966s # End of valid tests 966s # Start of unknown tests 966s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/home 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/cache 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/system-config2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/config 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/system-data2 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/data 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/state 966s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/runtime 966s # Created test thumbnail at /tmp/test_file-thumbnail_PMKEK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 966s ok 7 /file-thumbnail/unknown/super-large 966s # End of unknown tests 966s # End of file-thumbnail tests 966s ok - glib/file-thumbnail.test 966s # Running test: glib/g-icon.test 966s TAP version 13 966s # random seed: R02Sdaf12c0cbac47aa33ea6c2e74580578e 966s 1..6 966s # Start of icons tests 966s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 966s ok 1 /icons/to-string 966s ok 2 /icons/serialize 966s ok 3 /icons/themed 966s ok 4 /icons/emblemed 966s ok 5 /icons/file 966s ok 6 /icons/bytes 966s # End of icons tests 966s ok - glib/g-icon.test 966s # Running test: glib/macros.test 966s TAP version 13 966s # random seed: R02Sb4217769d9a4e7815b52a998449a76e9 966s 1..3 966s # Start of alignof tests 966s ok 1 /alignof/fallback 966s # End of alignof tests 966s # Start of assert tests 966s ok 2 /assert/static 966s # End of assert tests 966s # Start of struct tests 966s ok 3 /struct/sizeof_member 966s # End of struct tests 966s ok - glib/macros.test 966s # Running test: glib/module-test-library.test 966s TAP version 13 966s # random seed: R02Sd14e51af288febdde442d6e70636ed42 966s 1..2 966s # Start of module tests 966s ok 1 /module/basics 966s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 966s ok 2 /module/invalid-libtool-archive 966s # End of module tests 966s ok - glib/module-test-library.test 966s # Running test: glib/test-printf.test 966s TAP version 13 966s # random seed: R02Safc19211d83bbf8e0025b7813c6663e5 966s 1..22 966s # Start of snprintf tests 966s ok 1 /snprintf/retval-and-trunc 966s ok 2 /snprintf/%d 966s ok 3 /snprintf/%d-invalid 966s ok 4 /snprintf/%o 966s ok 5 /snprintf/%u 966s ok 6 /snprintf/%x 966s ok 7 /snprintf/%X 966s ok 8 /snprintf/%f 966s ok 9 /snprintf/%e 966s ok 10 /snprintf/%c 966s ok 11 /snprintf/%s 966s ok 12 /snprintf/%n 966s ok 13 /snprintf/test-percent 966s ok 14 /snprintf/test-positional-params 966s ok 15 /snprintf/test-64bit 966s # End of snprintf tests 966s # Start of printf tests 966s ok 16 /printf/test-percent 966s ok 17 /printf/test-positional-params 966s ok 18 /printf/test-64bit 966s # Start of test-64bit tests 966s # Start of subprocess tests 966s # End of subprocess tests 966s # End of test-64bit tests 966s # End of printf tests 966s # Start of sprintf tests 966s ok 19 /sprintf/test-positional-params 966s ok 20 /sprintf/upper-bound 966s # End of sprintf tests 966s # Start of vasprintf tests 966s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 966s ok 21 /vasprintf/invalid-format-placeholder 966s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 966s ok 22 /vasprintf/invalid-wide-string 966s # End of vasprintf tests 966s ok - glib/test-printf.test 966s # Running test: glib/power-profile-monitor-dbus.test 967s TAP version 13 967s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 967s 1..1 967s ok - glib/power-profile-monitor-dbus.test 967s # Running test: glib/rec-mutex.test 967s TAP version 13 967s # random seed: R02S7a67eb288eabd5ea9682e103c27d95a5 967s 1..29 967s # Start of thread tests 967s ok 1 /thread/rec-mutex1 967s ok 2 /thread/rec-mutex2 967s ok 3 /thread/rec-mutex3 967s ok 4 /thread/rec-mutex4 967s # Start of rec-mutex tests 967s # Start of perf tests 967s # Start of uncontended tests 967s # max perf: 1.000000 mips 967s ok 5 /thread/rec-mutex/perf/uncontended/depth1 967s # max perf: 1.000000 mips 967s ok 6 /thread/rec-mutex/perf/uncontended/depth2 967s # max perf: 1.000000 mips 967s ok 7 /thread/rec-mutex/perf/uncontended/depth3 967s # max perf: inf mips 967s ok 8 /thread/rec-mutex/perf/uncontended/depth4 967s # max perf: inf mips 967s ok 9 /thread/rec-mutex/perf/uncontended/depth5 967s # End of uncontended tests 967s # Start of contended1 tests 967s # max perf: inf mips 967s ok 10 /thread/rec-mutex/perf/contended1/depth1 967s # max perf: 2.000000 mips 967s ok 11 /thread/rec-mutex/perf/contended1/depth2 967s # max perf: 2.000000 mips 967s ok 12 /thread/rec-mutex/perf/contended1/depth3 967s # max perf: inf mips 967s ok 13 /thread/rec-mutex/perf/contended1/depth4 967s # max perf: inf mips 967s ok 14 /thread/rec-mutex/perf/contended1/depth5 967s # End of contended1 tests 967s # Start of contended2 tests 967s # max perf: inf mips 967s ok 15 /thread/rec-mutex/perf/contended2/depth1 967s # max perf: inf mips 967s ok 16 /thread/rec-mutex/perf/contended2/depth2 967s # max perf: inf mips 967s ok 17 /thread/rec-mutex/perf/contended2/depth3 967s # max perf: inf mips 967s ok 18 /thread/rec-mutex/perf/contended2/depth4 967s # max perf: inf mips 967s ok 19 /thread/rec-mutex/perf/contended2/depth5 967s # End of contended2 tests 967s # Start of contended3 tests 967s # max perf: 2.000000 mips 967s ok 20 /thread/rec-mutex/perf/contended3/depth1 967s # max perf: 4.000000 mips 967s ok 21 /thread/rec-mutex/perf/contended3/depth2 967s # max perf: 2.000000 mips 967s ok 22 /thread/rec-mutex/perf/contended3/depth3 967s # max perf: 2.000000 mips 967s ok 23 /thread/rec-mutex/perf/contended3/depth4 967s # max perf: 2.000000 mips 967s ok 24 /thread/rec-mutex/perf/contended3/depth5 967s # End of contended3 tests 967s # Start of contended4 tests 967s # max perf: 5.000000 mips 967s ok 25 /thread/rec-mutex/perf/contended4/depth1 967s # max perf: 5.000000 mips 967s ok 26 /thread/rec-mutex/perf/contended4/depth2 967s # max perf: 2.500000 mips 967s ok 27 /thread/rec-mutex/perf/contended4/depth3 967s # max perf: 2.500000 mips 967s ok 28 /thread/rec-mutex/perf/contended4/depth4 967s # max perf: 2.500000 mips 967s ok 29 /thread/rec-mutex/perf/contended4/depth5 967s # End of contended4 tests 967s # End of perf tests 967s # End of rec-mutex tests 967s # End of thread tests 967s ok - glib/rec-mutex.test 967s # Running test: glib/messages-low-memory.py.test 967s TAP version 13 967s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 967s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 967s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 967s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 967s # Return code: -6 967s # Output: 967s # Error: GLib-Message: 23:43:34.283: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 967s # GLib-Message: 23:43:34.283: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 967s # ../../../glib/gprintf.c:350: failed to allocate memory 967s 1..1 967s ok - glib/messages-low-memory.py.test 967s # Running test: glib/spawn-path-search.test 967s TAP version 13 967s # random seed: R02Sc511a2e954a8b811814c1560fa9b427e 967s 1..7 967s # Start of spawn tests 967s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 967s # 967s # this is spawn-test-helper from glib/tests 967s # 967s ok 1 /spawn/do-not-search 967s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 967s # 967s # this is spawn-test-helper from path-test-subdir 967s # 967s ok 2 /spawn/search-path 967s # /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. 967s # 967s # this is spawn-test-helper from path-test-subdir 967s # 967s ok 3 /spawn/search-path-from-envp 967s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 967s # 967s # this is spawn-test-helper from path-test-subdir 967s # 967s ok 4 /spawn/search-path-ambiguous 967s # 967s # this is spawn-test-helper from path-test-subdir 967s # 967s ok 5 /spawn/search-path-heap-allocation 967s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 967s # 967s # this is spawn-test-helper from glib/tests 967s # 967s ok 6 /spawn/search-path-fallback-in-environ 967s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 967s # 967s # this is spawn-test-helper from glib/tests 967s # 967s ok 7 /spawn/search-path-fallback-in-envp 967s # End of spawn tests 967s ok - glib/spawn-path-search.test 967s # Running test: glib/relation.test 967s TAP version 13 967s # random seed: R02S533a81c1b3c7ee44fb55483428eba0f2 967s 1..1 967s # Start of glib tests 967s ok 1 /glib/relation 967s # End of glib tests 967s ok - glib/relation.test 967s # Running test: glib/deprecated-properties.test 967s TAP version 13 967s # random seed: R02S39ba0ab8b1b4d734e31606433121109c 967s 1..3 967s # Start of deprecated-properties tests 967s ok 1 /deprecated-properties/construct 967s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 967s ok 2 /deprecated-properties/default-construct 967s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 967s ok 3 /deprecated-properties/set 967s # End of deprecated-properties tests 967s ok - glib/deprecated-properties.test 967s # Running test: glib/properties-introspection.test 967s TAP version 13 967s # random seed: R02S8264b493d8894c985b7d8efab380be09 967s 1..2 967s # Start of properties tests 967s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 967s ok 1 /properties/introspection 967s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 967s ok 2 /properties/collision 967s # End of properties tests 967s ok - glib/properties-introspection.test 967s # Running test: glib/live-g-file.test 967s TAP version 13 967s # random seed: R02S888070e5b2a6355cf936304bdbd687c7 967s 1..13 967s # Start of live-g-file tests 967s # Cleaning target testing structure in 'testdir_live-g-file'... 967s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 967s ok 1 /live-g-file/prep_clean_structure 967s # 967s # Going to create testing structure in 'testdir_live-g-file'... 967s # Creating directory 'dir1'... 967s # Creating directory 'dir1/subdir'... 967s # Creating directory 'dir2'... 967s # Creating directory 'dir-target'... 967s # Creating directory 'dir_no-access'... 967s # Creating directory 'dir_no-write'... 967s # Creating file 'target-file'... 967s # Creating file 'normal_file'... 967s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 967s # Creating file 'executable_file'... 967s # Creating file 'private_file'... 967s # Creating file 'normal_file2'... 967s # Creating file 'readonly_file'... 967s # Creating file 'UTF_pr?i?lis? z'... 967s # Creating directory 'dir_pr?i?lis? z'... 967s # Creating symlink 'lost_symlink' --> 'nowhere'... 967s # Creating directory 'dir_hidden'... 967s # Creating file 'dir_hidden/.a-hidden-file'... 967s # Creating file 'dir_hidden/file-in-.hidden1'... 967s # Creating file 'dir_hidden/file-in-.hidden2'... 967s # Creating pattern file... 967s # done. 967s ok 2 /live-g-file/create_structure 967s # Testing sample structure in 'testdir_live-g-file'... 967s # Testing file 'dir1'... 967s # Testing file 'dir1/subdir'... 967s # Testing file 'dir2'... 967s # Testing file 'dir-target'... 967s # Testing file 'dir_no-access'... 967s # Testing file 'dir_no-write'... 967s # Testing file 'target-file'... 967s # Testing file 'normal_file'... 967s # Testing file 'normal_file-symlink'... 967s # Testing file 'executable_file'... 967s # Testing file 'private_file'... 967s # Testing file 'normal_file2'... 967s # Testing file 'readonly_file'... 967s # Testing file 'UTF_pr?i?lis? z'... 967s # Testing file 'dir_pr?i?lis? z'... 967s # Testing file 'lost_symlink'... 967s # Testing file 'dir_hidden'... 967s # Testing file 'dir_hidden/.a-hidden-file'... 967s # Testing file 'dir_hidden/file-in-.hidden1'... 967s # Testing file 'dir_hidden/file-in-.hidden2'... 967s # Testing pattern file... 967s # read 65536 bytes, total = 65536 of 65536. 967s ok 3 /live-g-file/test_initial_structure 967s # Traversing through the sample structure in 'testdir_live-g-file'... 967s # Found file dir1, relative to root: dir1 967s # Found file subdir, relative to root: dir1/subdir 967s # Found file dir2, relative to root: dir2 967s # Found file dir-target, relative to root: dir-target 967s # Found file dir_no-access, relative to root: dir_no-access 967s # Found file dir_no-write, relative to root: dir_no-write 967s # Found file target-file, relative to root: target-file 967s # Found file normal_file, relative to root: normal_file 967s # Found file normal_file-symlink, relative to root: normal_file-symlink 967s # Found file executable_file, relative to root: executable_file 967s # Found file private_file, relative to root: private_file 967s # Found file normal_file2, relative to root: normal_file2 967s # Found file readonly_file, relative to root: readonly_file 967s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 967s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 967s # Found file lost_symlink, relative to root: lost_symlink 967s # Found file dir_hidden, relative to root: dir_hidden 967s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 967s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 967s # Found file .hidden, relative to root: dir_hidden/.hidden 967s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 967s # Found file pattern_file, relative to root: pattern_file 967s ok 4 /live-g-file/test_traverse_structure 967s # Test enumerate 'testdir_live-g-file'... 967s # Testing file 'dir_no-access' 967s # Testing file 'normal_file' 967s # Testing file 'normal_file-symlink' 967s # Testing file 'not_exists' 967s # Testing file 'not_exists' 967s # Testing file 'not_exists2' 967s # Testing file 'not_exists3' 967s # Testing file 'not_exists4' 967s # Testing file 'dir_no-execute/file' 967s ok 5 /live-g-file/test_enumerate 967s # test_open: 'dir1' 967s # test_open: 'dir_no-access' 967s # test_open: 'target-file' 967s # test_open: 'normal_file-symlink' 967s # test_open: 'executable_file' 967s # test_open: 'private_file' 967s # test_open: 'readonly_file' 967s # test_open: 'UTF_pr?i?lis? z' 967s # test_open: 'pattern_file' 967s # test_open: 'not_exists' 967s # test_open: 'dir_no-execute/file' 967s # test_open: 'lost_symlink' 967s ok 6 /live-g-file/test_open 967s # test_create: 'dir1' 967s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir1?: Is a directory 967s # test_create: 'dir1/subdir' 967s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir1/subdir?: Is a directory 967s # test_create: 'dir2' 967s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir2?: File exists 967s # test_create: 'normal_file' 967s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/normal_file?: File exists 967s # test_create: 'executable_file' 967s # test_create: 'private_file' 967s # test_create: 'normal_file2' 967s # test_create: 'UTF_pr?i?lis? z' 967s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 967s # test_create: 'dir_pr?i?lis? z' 967s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 967s # test_create: 'pattern_file' 967s # test_create: 'not_exists2' 967s # test_create: 'not_exists3' 967s # test_create: 'not_exists4' 967s ok 7 /live-g-file/test_create 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir1/subdir' --> 'dir-target' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir1/subdir' --> '.' 967s # res = 0, error code 2 = Target file exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir1/subdir' --> 'target-file' 967s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir1/subdir' --> 'not_exists' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir2' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir-target' --> 'dir-target' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir-target' --> '.' 967s # res = 0, error code 2 = Target file exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir-target' --> 'target-file' 967s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/dir-target?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir-target' --> 'not_exists' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir-target' --> 'dir_no-access' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'dir-target' --> 'dir_no-write' 967s # res = 0, error code 25 = Can?t recursively copy directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'target-file' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'target-file' --> '.' 967s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file?: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'target-file' --> 'target-file' 967s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/target-file?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'target-file' --> 'not_exists' 967s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/target-file?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'target-file' --> 'dir_no-access' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'target-file' --> 'dir_no-write' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file-symlink' --> '.' 967s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/normal_file-symlink: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file-symlink' --> 'target-file' 967s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 967s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 967s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 967s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> '.' 967s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/executable_file?: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> 'target-file' 967s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/executable_file?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> 'not_exists' 967s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> 'dir_no-access' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'executable_file' --> 'dir_no-write' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> '.' 967s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/private_file?: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> 'target-file' 967s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/private_file?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> 'not_exists' 967s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/private_file?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> 'dir_no-access' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'private_file' --> 'dir_no-write' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> '.' 967s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/normal_file2?: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> 'target-file' 967s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/normal_file2?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> 'not_exists' 967s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> 'dir_no-access' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'normal_file2' --> 'dir_no-write' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 967s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 967s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 967s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'pattern_file' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'pattern_file' --> '.' 967s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/pattern_file?: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'pattern_file' --> 'target-file' 967s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/pattern_file?: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'pattern_file' --> 'not_exists' 967s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'pattern_file' --> 'dir_no-access' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'pattern_file' --> 'dir_no-write' 967s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> 'dir-target' 967s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> '.' 967s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> 'target-file' 967s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> 'not_exists' 967s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> 'dir_no-access' 967s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> 'dir_no-write' 967s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists?: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'not_exists' --> 'dir-target' 967s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'lost_symlink' --> 'dir-target' 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'lost_symlink' --> '.' 967s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/lost_symlink: File exists 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'lost_symlink' --> 'target-file' 967s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/target-file/lost_symlink: Not a directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'lost_symlink' --> 'not_exists' 967s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 967s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 967s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 967s ok 8 /live-g-file/test_copy_move 967s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir1 967s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir1: Directory not empty 967s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir2 967s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir2: No such file or directory 967s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/executable_file 967s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/readonly_file 967s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_pr?i?lis? z 967s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists 967s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists: No such file or directory 967s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists 967s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/not_exists: No such file or directory 967s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-execute/file 967s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/dir_no-execute/file: No such file or directory 967s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-4Z59J2/testdir_live-g-file/lost_symlink 967s ok 9 /live-g-file/test_delete 967s # We do not have CAP_DAC_OVERRIDE or equivalent 967s ok 10 /live-g-file/test_make_directory_with_parents 967s # Cleaning target testing structure in 'testdir_live-g-file'... 967s # deleting 'dir1' 967s # deleting 'subdir' 967s # deleting 'dir-target' 967s # deleting 'dir2' 967s # deleting 'target-file' 967s # deleting 'normal_file-symlink' 967s # deleting 'pattern_file' 967s # deleting 'executable_file' 967s # deleting 'private_file' 967s # deleting 'normal_file2' 967s # deleting 'UTF_pr?i?lis? z' 967s # deleting 'lost_symlink' 967s # deleting 'dir_no-access' 967s # deleting 'dir_no-write' 967s # deleting 'target-file' 967s # deleting 'normal_file' 967s # deleting 'normal_file-symlink' 967s # deleting 'executable_file~' 967s # deleting 'private_file' 967s # deleting 'normal_file2~' 967s # deleting 'a' 967s # deleting 'UTF_pr?i?lis? z' 967s # deleting 'dir_hidden' 967s # deleting '.a-hidden-file' 967s # deleting 'file-in-.hidden1' 967s # deleting '.hidden' 967s # deleting 'file-in-.hidden2' 967s # deleting 'pattern_file' 967s # deleting 'normal_file2' 967s # deleting 'not_exists2' 967s # deleting 'not_exists3' 967s # deleting 'not_exists4' 967s ok 11 /live-g-file/final_clean 967s # Start of test_unix_is_mountpoint tests 967s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 967s ok 13 /live-g-file/test_unix_is_mountpoint/proc 967s # End of test_unix_is_mountpoint tests 967s # End of live-g-file tests 967s ok - glib/live-g-file.test 967s # Running test: glib/module-test-plugin.test 967s TAP version 13 967s # random seed: R02S151d5dee55221bd3b614398f6420a2fb 967s 1..2 967s # Start of module tests 967s ok 1 /module/basics 967s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 967s ok 2 /module/invalid-libtool-archive 967s # End of module tests 967s ok - glib/module-test-plugin.test 967s # Running test: glib/cmph-bdz.test 967s TAP version 13 967s # random seed: R02S592de453340732837ab6a32b550cf3b1 967s 1..2 967s # Start of cmph-bdz tests 967s ok 1 /cmph-bdz/search 967s ok 2 /cmph-bdz/search-packed 967s # End of cmph-bdz tests 967s ok - glib/cmph-bdz.test 967s # Running test: glib/cxx-03.test 967s TAP version 13 967s # random seed: R02S95476683d4eeca7c8eed178c31e32501 967s 1..2 967s # Start of gtask tests 967s # 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. 967s ok 1 /gtask/name 967s # Start of name tests 967s # 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. 967s ok 2 /gtask/name/macro-wrapper 967s # End of name tests 967s # End of gtask tests 967s ok - glib/cxx-03.test 967s # Running test: glib/gdbus-address-get-session.test 967s TAP version 13 967s # random seed: R02S4f801e66c11e756c21963fa91ea10ed9 967s 1..2 967s # Start of gdbus tests 967s ok 1 /gdbus/x11-autolaunch 967s ok 2 /gdbus/xdg-runtime 967s # End of gdbus tests 967s ok - glib/gdbus-address-get-session.test 967s # Running test: glib/gvariant.test 967s TAP version 13 967s # random seed: R02Sf4e25d9584396c1ac3932f32ced4804d 967s 1..64 967s # Start of gvariant tests 967s ok 1 /gvariant/type 967s ok 2 /gvariant/typeinfo 967s ok 3 /gvariant/string 967s ok 4 /gvariant/utf8 968s ok 5 /gvariant/containers 968s # slow test /gvariant/containers executed in 0.80 secs 968s ok 6 /gvariant/format-strings 968s ok 7 /gvariant/invalid-varargs 968s ok 8 /gvariant/varargs 968s ok 9 /gvariant/valist 968s ok 10 /gvariant/builder-memory 968s ok 11 /gvariant/hashing 968s ok 12 /gvariant/byteswap 969s ok 13 /gvariant/parser 969s ok 14 /gvariant/parse-failures 969s ok 15 /gvariant/parse-positional 969s ok 16 /gvariant/floating 969s ok 17 /gvariant/bytestring 969s ok 18 /gvariant/lookup-value 969s ok 19 /gvariant/lookup 969s ok 20 /gvariant/compare 969s ok 21 /gvariant/equal 969s ok 22 /gvariant/fixed-array 969s ok 23 /gvariant/check-format-string 969s ok 24 /gvariant/checksum-basic 969s ok 25 /gvariant/checksum-nested 969s ok 26 /gvariant/gbytes 969s ok 27 /gvariant/print-context 969s ok 28 /gvariant/error-quark 969s ok 29 /gvariant/stack-builder-init 969s ok 30 /gvariant/stack-dict-init 969s ok 31 /gvariant/unaligned-construction 969s # Start of type tests 969s # Start of string-scan tests 969s # Start of recursion tests 969s ok 32 /gvariant/type/string-scan/recursion/tuple 969s ok 33 /gvariant/type/string-scan/recursion/array 969s # End of recursion tests 969s # End of string-scan tests 969s # End of type tests 969s # Start of serialiser tests 969s ok 34 /gvariant/serialiser/maybe 969s ok 35 /gvariant/serialiser/array 969s ok 36 /gvariant/serialiser/tuple 969s ok 37 /gvariant/serialiser/variant 969s ok 38 /gvariant/serialiser/strings 970s ok 39 /gvariant/serialiser/byteswap 970s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 970s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 970s ok 40 /gvariant/serialiser/children 970s # Start of fuzz tests 970s ok 41 /gvariant/serialiser/fuzz/1% 970s ok 42 /gvariant/serialiser/fuzz/5% 971s # Executing: glib/gvariant.test 971s ok 43 /gvariant/serialiser/fuzz/9% 971s # slow test /gvariant/serialiser/fuzz/9% executed in 0.52 secs 971s ok 44 /gvariant/serialiser/fuzz/13% 972s ok 45 /gvariant/serialiser/fuzz/17% 972s # slow test /gvariant/serialiser/fuzz/17% executed in 0.76 secs 972s # End of fuzz tests 972s # End of serialiser tests 972s # Start of varargs tests 972s # Start of subprocess tests 972s # End of subprocess tests 972s # End of varargs tests 972s # Start of byteswap tests 972s # /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. 972s ok 46 /gvariant/byteswap/non-normal-non-aligned 972s # End of byteswap tests 972s # Start of parser tests 972s ok 47 /gvariant/parser/integer-bounds 972s ok 48 /gvariant/parser/recursion 972s # Start of recursion tests 972s ok 49 /gvariant/parser/recursion/typedecls 972s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 972s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 972s # Text form 0: @mmmu 5 972s # Text form 1: @mmmas ['hello'] 972s # Text form 2: @mmmu just just nothing 972s # Text form 3: @mmmas just just nothing 972s # Text form 4: @mmmu just nothing 972s # Text form 5: @mmmas just nothing 972s # Text form 6: @mmmu nothing 972s # Text form 7: @mmmas nothing 972s ok 50 /gvariant/parser/recursion/maybes 972s # End of recursion tests 972s # End of parser tests 972s # Start of parse tests 972s # Start of subprocess tests 972s # End of subprocess tests 972s # End of parse tests 972s # Start of normal-checking tests 972s ok 51 /gvariant/normal-checking/tuples 972s ok 52 /gvariant/normal-checking/array-offsets 972s ok 53 /gvariant/normal-checking/array-offsets2 972s ok 54 /gvariant/normal-checking/tuple-offsets 972s ok 55 /gvariant/normal-checking/tuple-offsets2 972s ok 56 /gvariant/normal-checking/tuple-offsets3 972s ok 57 /gvariant/normal-checking/tuple-offsets4 972s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 972s ok 58 /gvariant/normal-checking/tuple-offsets5 972s ok 59 /gvariant/normal-checking/empty-object-path 972s # Start of array-offsets tests 972s ok 60 /gvariant/normal-checking/array-offsets/overlapped 972s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 972s # End of array-offsets tests 972s # Start of tuple-offsets tests 972s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 972s # End of tuple-offsets tests 972s # End of normal-checking tests 972s # Start of recursion-limits tests 972s ok 63 /gvariant/recursion-limits/variant-in-variant 972s ok 64 /gvariant/recursion-limits/array-in-variant 972s # End of recursion-limits tests 972s # End of gvariant tests 972s ok - glib/gvariant.test 972s # Running test: glib/overflow-fallback.test 972s TAP version 13 972s # random seed: R02S02b6e13bb938f567686dba4afd657657 972s 1..6 972s # Start of glib tests 972s # Start of checked-math tests 972s ok 1 /glib/checked-math/guint-add 972s ok 2 /glib/checked-math/guint-mul 972s ok 3 /glib/checked-math/guint64-add 972s ok 4 /glib/checked-math/guint64-mul 972s ok 5 /glib/checked-math/gsize-add 972s ok 6 /glib/checked-math/gsize-mul 972s # End of checked-math tests 972s # End of glib tests 972s ok - glib/overflow-fallback.test 972s # Running test: glib/pattern.test 972s TAP version 13 972s # random seed: R02S10ba8990edf676540876af8729a97540 972s 1..90 972s # Start of pattern tests 972s # Start of compile tests 972s ok 1 /pattern/compile/0 972s ok 2 /pattern/compile/1 972s ok 3 /pattern/compile/2 972s ok 4 /pattern/compile/3 972s ok 5 /pattern/compile/4 972s ok 6 /pattern/compile/5 972s ok 7 /pattern/compile/6 972s ok 8 /pattern/compile/7 972s ok 9 /pattern/compile/8 972s ok 10 /pattern/compile/9 972s ok 11 /pattern/compile/10 972s ok 12 /pattern/compile/11 972s ok 13 /pattern/compile/12 972s ok 14 /pattern/compile/13 972s # End of compile tests 972s # Start of copy tests 972s ok 15 /pattern/copy/0 972s ok 16 /pattern/copy/1 972s ok 17 /pattern/copy/2 972s ok 18 /pattern/copy/3 972s ok 19 /pattern/copy/4 972s ok 20 /pattern/copy/5 972s ok 21 /pattern/copy/6 972s ok 22 /pattern/copy/7 972s ok 23 /pattern/copy/8 972s ok 24 /pattern/copy/9 972s ok 25 /pattern/copy/10 972s ok 26 /pattern/copy/11 972s ok 27 /pattern/copy/12 972s ok 28 /pattern/copy/13 972s # End of copy tests 972s # Start of match tests 972s ok 29 /pattern/match/0 972s ok 30 /pattern/match/1 972s ok 31 /pattern/match/2 972s ok 32 /pattern/match/3 972s ok 33 /pattern/match/4 972s ok 34 /pattern/match/5 972s ok 35 /pattern/match/6 972s ok 36 /pattern/match/7 972s ok 37 /pattern/match/8 972s ok 38 /pattern/match/9 972s ok 39 /pattern/match/10 972s ok 40 /pattern/match/11 972s ok 41 /pattern/match/12 972s ok 42 /pattern/match/13 972s ok 43 /pattern/match/14 972s ok 44 /pattern/match/15 972s ok 45 /pattern/match/16 972s ok 46 /pattern/match/17 972s ok 47 /pattern/match/18 972s ok 48 /pattern/match/19 972s ok 49 /pattern/match/20 972s ok 50 /pattern/match/21 972s ok 51 /pattern/match/22 972s ok 52 /pattern/match/23 972s ok 53 /pattern/match/24 972s ok 54 /pattern/match/25 972s ok 55 /pattern/match/26 972s ok 56 /pattern/match/27 972s ok 57 /pattern/match/28 972s ok 58 /pattern/match/29 972s ok 59 /pattern/match/30 972s ok 60 /pattern/match/31 972s ok 61 /pattern/match/32 972s ok 62 /pattern/match/33 972s ok 63 /pattern/match/34 972s ok 64 /pattern/match/35 972s ok 65 /pattern/match/36 972s ok 66 /pattern/match/37 972s ok 67 /pattern/match/38 972s ok 68 /pattern/match/39 972s ok 69 /pattern/match/40 972s ok 70 /pattern/match/41 972s ok 71 /pattern/match/42 972s ok 72 /pattern/match/43 972s ok 73 /pattern/match/44 972s ok 74 /pattern/match/45 972s ok 75 /pattern/match/46 972s ok 76 /pattern/match/47 972s ok 77 /pattern/match/48 972s ok 78 /pattern/match/49 972s ok 79 /pattern/match/50 972s # End of match tests 972s # Start of equal tests 972s ok 80 /pattern/equal/0 972s ok 81 /pattern/equal/1 972s ok 82 /pattern/equal/2 972s ok 83 /pattern/equal/3 972s ok 84 /pattern/equal/4 972s ok 85 /pattern/equal/5 972s ok 86 /pattern/equal/6 972s ok 87 /pattern/equal/7 972s ok 88 /pattern/equal/8 972s ok 89 /pattern/equal/9 972s ok 90 /pattern/equal/10 972s # End of equal tests 972s # End of pattern tests 972s ok - glib/pattern.test 972s # Running test: glib/gdbus-addresses.test 972s TAP version 13 972s # random seed: R02Se5e58b183a5d32285beaccb104741163 972s 1..9 972s # Start of gdbus tests 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/empty-address/.dirs/runtime 972s ok 1 /gdbus/empty-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unsupported-address/.dirs/runtime 972s ok 2 /gdbus/unsupported-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/address-parsing/.dirs/runtime 972s ok 3 /gdbus/address-parsing 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/unix-address/.dirs/runtime 972s ok 4 /gdbus/unix-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/nonce-tcp-address/.dirs/runtime 972s ok 5 /gdbus/nonce-tcp-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/tcp-address/.dirs/runtime 972s ok 6 /gdbus/tcp-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/autolaunch-address/.dirs/runtime 972s ok 7 /gdbus/autolaunch-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/mixed-address/.dirs/runtime 972s ok 8 /gdbus/mixed-address 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KNG4J2/gdbus/escape-address/.dirs/runtime 972s ok 9 /gdbus/escape-address 972s # End of gdbus tests 972s ok - glib/gdbus-addresses.test 972s # Running test: glib/tls-interaction.test 972s TAP version 13 972s # random seed: R02S1d3f167c3f73ac8bed61cdc95d95b26d 972s 1..42 972s # Start of tls-interaction tests 972s # Start of ask-password tests 972s # Start of invoke-with-loop tests 972s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 972s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 972s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 972s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 972s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 972s # End of invoke-with-loop tests 972s # Start of invoke-without-loop tests 972s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 972s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 972s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 972s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 972s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 972s # End of invoke-without-loop tests 972s # Start of invoke-in-loop tests 972s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 972s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 972s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 972s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 972s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 972s # End of invoke-in-loop tests 972s # Start of sync tests 972s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 972s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 972s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 972s # End of sync tests 972s # Start of async tests 972s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 972s ok 20 /tls-interaction/ask-password/async/async-implementation-success 972s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 972s # End of async tests 972s # End of ask-password tests 972s # Start of request-certificate tests 972s # Start of invoke-with-loop tests 972s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 972s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 972s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 972s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 972s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 972s # End of invoke-with-loop tests 972s # Start of invoke-without-loop tests 972s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 972s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 972s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 972s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 972s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 972s # End of invoke-without-loop tests 972s # Start of invoke-in-loop tests 972s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 972s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 972s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 972s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 972s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 972s # End of invoke-in-loop tests 972s # Start of sync tests 972s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 972s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 972s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 972s # End of sync tests 972s # Start of async tests 972s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 972s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 972s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 972s # End of async tests 972s # End of request-certificate tests 972s # End of tls-interaction tests 972s ok - glib/tls-interaction.test 972s # Running test: glib/notify-init2.test 972s TAP version 13 972s # random seed: R02Sc5bda01dbe6965e2b164fb77ec8e6bff 972s 1..1 972s # Start of properties tests 972s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 972s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 972s ok 1 /properties/notify-in-init2 972s # End of properties tests 972s ok - glib/notify-init2.test 972s # Running test: glib/tls-certificate.test 972s TAP version 13 972s # random seed: R02S957144b9fef02c0b4d1c0719d30ba2f5 972s 1..19 972s # Start of tls-certificate tests 972s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 972s ok 1 /tls-certificate/pem-parser 972s ok 2 /tls-certificate/pem-parser-handles-chain 972s ok 3 /tls-certificate/from_file 972s ok 4 /tls-certificate/from_files 972s ok 5 /tls-certificate/from_files_crlf 972s ok 6 /tls-certificate/from_files_pkcs8 972s ok 7 /tls-certificate/from_files_pkcs8enc 972s ok 8 /tls-certificate/list_from_file 972s ok 9 /tls-certificate/pkcs11-uri 972s ok 10 /tls-certificate/pkcs11-uri-unsupported 972s ok 11 /tls-certificate/from_pkcs12 972s ok 12 /tls-certificate/from_pkcs12_file 972s ok 13 /tls-certificate/not-valid-before 972s ok 14 /tls-certificate/not-valid-after 972s ok 15 /tls-certificate/subject-name 972s ok 16 /tls-certificate/issuer-name 972s ok 17 /tls-certificate/dns-names 972s ok 18 /tls-certificate/ip-addresses 972s ok 19 /tls-certificate/pem-parser-no-sentinel 972s # End of tls-certificate tests 972s ok - glib/tls-certificate.test 972s # Running test: glib/1bit-mutex.test 972s TAP version 13 972s # random seed: R02S5e68e16bd4352fef31ec7ada45df8a14 972s 1..2 972s # Start of glib tests 972s # Start of 1bit-mutex tests 976s # Executing: glib/1bit-mutex.test 976s ok 1 /glib/1bit-mutex/int 976s # slow test /glib/1bit-mutex/int executed in 3.76 secs 980s ok 2 /glib/1bit-mutex/pointer 980s # slow test /glib/1bit-mutex/pointer executed in 3.58 secs 980s # End of 1bit-mutex tests 980s # End of glib tests 980s ok - glib/1bit-mutex.test 980s # Running test: glib/giomodule.test 980s TAP version 13 980s # random seed: R02S8014d47ccc5be53227cb76405c2c1e9a 980s 1..3 980s # Start of giomodule tests 980s ok 1 /giomodule/extension-point 980s ok 2 /giomodule/module-scan-all 980s ok 3 /giomodule/module-scan-all-with-scope 980s # End of giomodule tests 980s ok - glib/giomodule.test 980s # Running test: glib/mappedfile.test 980s TAP version 13 980s # random seed: R02Sa1d7c2546239b11a79ebfdbfde6e1eba 980s 1..7 980s # Start of mappedfile tests 980s ok 1 /mappedfile/basic 980s ok 2 /mappedfile/empty 980s ok 3 /mappedfile/device 980s ok 4 /mappedfile/nonexisting 980s ok 5 /mappedfile/writable 980s ok 6 /mappedfile/writable_fd 980s ok 7 /mappedfile/gbytes 980s # End of mappedfile tests 980s ok - glib/mappedfile.test 980s # Running test: glib/gdbus-connection.test 980s TAP version 13 980s # random seed: R02Saafb2a3da9001f4d9a13a9ec4bc3d851 980s 1..9 980s # Start of gdbus tests 980s # Start of connection tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/bus-failure/.dirs/runtime 980s ok 1 /gdbus/connection/bus-failure 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/basic/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 2 /gdbus/connection/basic 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/life-cycle/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 3 /gdbus/connection/life-cycle 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/send/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 4 /gdbus/connection/send 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signals/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 5 /gdbus/connection/signals 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/signal-match-rules/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 6 /gdbus/connection/signal-match-rules 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/filter/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 7 /gdbus/connection/filter 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/serials/.dirs/runtime 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 8 /gdbus/connection/serials 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_OISFK2/gdbus/connection/cancel/.dirs/runtime 980s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok 9 /gdbus/connection/cancel 980s # End of connection tests 980s # End of gdbus tests 980s ok - glib/gdbus-connection.test 980s # Running test: glib/object.test 980s TAP version 13 980s # random seed: R02S012ca078928710d7bf189493ad2420fe 980s 1..2 980s # Start of object tests 980s # Start of constructor tests 980s ok 1 /object/constructor/singleton 980s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 980s # End of constructor tests 980s # End of object tests 980s ok - glib/object.test 980s # Running test: glib/rcbox.test 980s TAP version 13 980s # random seed: R02Sfe66dc66ddef21ba95f2f532f7e8b277 980s 1..8 980s # Start of rcbox tests 980s ok 1 /rcbox/new 980s # global_point = 0xb2c34242e870 980s ok 2 /rcbox/release-full 980s # global_point_a = 0xb2c34242e870 980s # global_point_b = 0xb2c34242e830 980s ok 3 /rcbox/dup 980s ok 4 /rcbox/alignment 980s # End of rcbox tests 980s # Start of atomic-rcbox tests 980s ok 5 /atomic-rcbox/new 980s # global_point = 0xb2c34242ea40 980s ok 6 /atomic-rcbox/release-full 980s # global_point_a = 0xb2c34242ea40 980s # global_point_b = 0xb2c34242ea00 980s ok 7 /atomic-rcbox/dup 980s ok 8 /atomic-rcbox/alignment 980s # End of atomic-rcbox tests 980s ok - glib/rcbox.test 980s # Running test: glib/properties-refcount3.test 980s TAP version 13 980s # random seed: R02S19cf6b315cb1423d0be5eab12e937520 980s 1..1 980s # Start of gobject tests 980s # Start of refcount tests 981s # Executing: glib/properties-refcount3.test 986s # Executing: glib/properties-refcount3.test 991s # Executing: glib/properties-refcount3.test 996s # Executing: glib/properties-refcount3.test 1001s # Executing: glib/properties-refcount3.test 1006s # Executing: glib/properties-refcount3.test 1010s # 1010s # stopping 1010s # 1010s # stopped 1010s # 1010s # 26141369 556225 1010s # 1010s ok 1 /gobject/refcount/properties-3 1010s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1010s # End of refcount tests 1010s # End of gobject tests 1010s ok - glib/properties-refcount3.test 1010s # Running test: glib/tls-bindings.test 1010s TAP version 13 1010s # random seed: R02Sbbc20edd5c714ab47414b89bcbf08d3a 1010s 1..2 1010s # Start of tls-connection tests 1010s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1010s ok 1 /tls-connection/get-tls-channel-binding 1010s ok 2 /tls-connection/get-dtls-channel-binding 1010s # End of tls-connection tests 1010s ok - glib/tls-bindings.test 1010s # Running test: glib/portal-support-env-var.test 1010s TAP version 13 1010s # random seed: R02S460136337549016c4de50a4e5af89c09 1010s 1..1 1010s # Start of portal-support tests 1010s ok 1 /portal-support/env-var 1010s # End of portal-support tests 1010s ok - glib/portal-support-env-var.test 1010s # Running test: glib/markup-collect.test 1010s TAP version 13 1010s # random seed: R02S98b9995431e7930a4d28637e48d57e97 1010s 1..21 1010s # Start of markup tests 1010s # Start of collect tests 1010s ok 1 /markup/collect/0 1010s ok 2 /markup/collect/1 1010s ok 3 /markup/collect/2 1010s ok 4 /markup/collect/3 1010s ok 5 /markup/collect/4 1010s ok 6 /markup/collect/5 1010s ok 7 /markup/collect/6 1010s ok 8 /markup/collect/7 1010s ok 9 /markup/collect/8 1010s ok 10 /markup/collect/9 1010s ok 11 /markup/collect/10 1010s ok 12 /markup/collect/11 1010s ok 13 /markup/collect/12 1010s ok 14 /markup/collect/13 1010s ok 15 /markup/collect/14 1010s ok 16 /markup/collect/15 1010s ok 17 /markup/collect/16 1010s ok 18 /markup/collect/17 1010s ok 19 /markup/collect/18 1010s ok 20 /markup/collect/19 1010s ok 21 /markup/collect/cleanup 1010s # End of collect tests 1010s # End of markup tests 1010s ok - glib/markup-collect.test 1010s # Running test: glib/debugcontroller.test 1010s TAP version 13 1010s # random seed: R02S9a47ab3d8cfcf456402fc8e0735dbebf 1010s 1..3 1010s # Start of debug-controller tests 1010s # Start of dbus tests 1010s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1010s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1010s # GLib-GIO-DEBUG: Debug output enabled 1010s # GLib-GIO-DEBUG: Debug output disabled 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok 1 /debug-controller/dbus/basic 1010s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1010s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok 2 /debug-controller/dbus/duplicate 1010s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1010s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1010s # End of dbus tests 1010s # End of debug-controller tests 1010s ok - glib/debugcontroller.test 1010s # Running test: glib/mutex.test 1010s TAP version 13 1010s # random seed: R02S933bb24d9edb14d7d53ce941d481e80f 1010s 1..17 1010s # Start of thread tests 1010s ok 1 /thread/mutex1 1010s ok 2 /thread/mutex2 1010s ok 3 /thread/mutex3 1010s ok 4 /thread/mutex4 1011s # Executing: glib/mutex.test 1014s ok 5 /thread/mutex5 1014s # slow test /thread/mutex5 executed in 3.47 secs 1014s # Start of mutex tests 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s ok 6 /thread/mutex/errno 1014s # Start of perf tests 1014s # max perf: inf mips 1014s ok 7 /thread/mutex/perf/uncontended 1014s # Start of contended tests 1014s # max perf: 2.000000 mips 1014s ok 8 /thread/mutex/perf/contended/1 1014s # max perf: inf mips 1014s ok 9 /thread/mutex/perf/contended/2 1014s # max perf: inf mips 1014s ok 10 /thread/mutex/perf/contended/3 1014s # max perf: inf mips 1014s ok 11 /thread/mutex/perf/contended/4 1014s # max perf: inf mips 1014s ok 12 /thread/mutex/perf/contended/5 1014s # max perf: 3.500000 mips 1014s ok 13 /thread/mutex/perf/contended/6 1014s # max perf: 8.000000 mips 1014s ok 14 /thread/mutex/perf/contended/7 1014s # max perf: 4.500000 mips 1014s ok 15 /thread/mutex/perf/contended/8 1014s # max perf: 10.000000 mips 1014s ok 16 /thread/mutex/perf/contended/9 1014s # max perf: 2.200000 mips 1014s ok 17 /thread/mutex/perf/contended/10 1014s # End of contended tests 1014s # End of perf tests 1014s # End of mutex tests 1014s # End of thread tests 1014s ok - glib/mutex.test 1014s # Running test: glib/gmenumodel.test 1014s TAP version 13 1014s # random seed: R02Sd9de0ce558fe637f30de4a32e93f0475 1014s 1..14 1014s # Start of gmenu tests 1014s ok 1 /gmenu/equality 1014s # slow test /gmenu/equality executed in 0.57 secs 1015s ok 2 /gmenu/random 1015s # slow test /gmenu/random executed in 0.69 secs 1015s ok 3 /gmenu/attributes 1015s ok 4 /gmenu/links 1015s ok 5 /gmenu/mutable 1015s ok 6 /gmenu/convenience 1015s ok 7 /gmenu/menuitem 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1015s ok 8 /gmenu/input-validation 1015s # Start of dbus tests 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1016s # Executing: glib/gmenumodel.test 1016s ok 9 /gmenu/dbus/roundtrip 1016s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1017s ok 10 /gmenu/dbus/subscriptions 1018s ok 11 /gmenu/dbus/threaded 1018s # slow test /gmenu/dbus/threaded executed in 0.82 secs 1018s # Start of peer tests 1019s ok 12 /gmenu/dbus/peer/roundtrip 1019s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 1019s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1019s # End of peer tests 1019s # End of dbus tests 1019s # Start of attributes tests 1019s ok 14 /gmenu/attributes/iterate 1019s # End of attributes tests 1019s # End of gmenu tests 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok - glib/gmenumodel.test 1019s # Running test: glib/thread-pool.test 1019s TAP version 13 1019s # random seed: R02S0ac45906ab2b606764d4df1e3a21f17e 1019s 1..5 1019s # Start of thread_pool tests 1019s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1019s ok 1 /thread_pool/shared 1019s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1019s ok 2 /thread_pool/exclusive 1019s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1019s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1019s ok 3 /thread_pool/create_shared_after_exclusive 1019s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1019s ok 4 /thread_pool/create_full 1019s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1019s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1019s ok 5 /thread_pool/create_exclusive_after_shared 1019s # End of thread_pool tests 1019s ok - glib/thread-pool.test 1019s # Running test: glib/gdbus-names.test 1019s TAP version 13 1019s # random seed: R02S27514ae3eed79d76a9f9c723982baadb 1019s 1..10 1019s # Start of gdbus tests 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/validate-names/.dirs/runtime 1019s ok 1 /gdbus/validate-names 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-own-name/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 2 /gdbus/bus-own-name 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 3 /gdbus/bus-watch-name 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 4 /gdbus/bus-watch-name-auto-start 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s dbus-daemon[10807]: [session uid=1000 pid=10807] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=10798 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1019s # Acquired a message bus connection 1019s dbus-daemon[10807]: [session uid=1000 pid=10807] Successfully activated service 'org.gtk.GDBus.FakeService' 1019s # Acquired the name org.gtk.GDBus.FakeService 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 6 /gdbus/bus-watch-name-closures 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 7 /gdbus/bus-watch-name-closures-auto-start 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-watch-different-context/.dirs/runtime 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 8 /gdbus/bus-watch-different-context 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/bus-unwatch-early/.dirs/runtime 1019s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 9 /gdbus/bus-unwatch-early 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3SZFK2/gdbus/escape-object-path/.dirs/runtime 1019s ok 10 /gdbus/escape-object-path 1019s # End of gdbus tests 1019s ok - glib/gdbus-names.test 1019s # Running test: glib/charset.test 1019s TAP version 13 1019s # random seed: R02S1540d0cfcb5b2f8eb58d247598dcd214 1019s 1..2 1019s # Start of charset tests 1019s # Test 0 1019s # Test 1 1019s # Test 2 1019s # Test 3 1019s ok 1 /charset/language_names_with_category 1019s ok 2 /charset/language_names_with_category_async 1019s # End of charset tests 1019s ok - glib/charset.test 1019s # Running test: glib/gdbus-bz627724.test 1019s TAP version 13 1019s # random seed: R02S29dbd487ff93936f659aeda94bdf9e72 1019s 1..1 1019s # Start of gdbus tests 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_63JBK2/gdbus/bz627724/.dirs/runtime 1019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s ok 1 /gdbus/bz627724 1019s # End of gdbus tests 1019s ok - glib/gdbus-bz627724.test 1019s # Running test: glib/scannerapi.test 1019s TAP version 13 1019s # random seed: R02S3d5dde2eef5ecd96ef4eca8003bfbe02 1019s 1..4 1019s # Start of scanner tests 1019s ok 1 /scanner/warn 1019s ok 2 /scanner/error 1019s ok 3 /scanner/symbols 1019s ok 4 /scanner/tokens 1019s # End of scanner tests 1019s ok - glib/scannerapi.test 1019s # Running test: glib/appmonitor.test 1019s TAP version 13 1019s # random seed: R02S1b8bbdc40460b331ef5e4487072fe967 1019s 1..1 1019s # Start of monitor tests 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/runtime 1019s # Using data directory: /tmp/test_appmonitor_V9BBK2/monitor/app/.dirs/data 1019s ok 1 /monitor/app 1019s # End of monitor tests 1019s ok - glib/appmonitor.test 1019s # Running test: glib/search-utils.test 1019s TAP version 13 1019s # random seed: R02Sbe225ad51f821772793ff0afbdd9de73 1019s # GLib-DEBUG: Current user locale: C.UTF-8 1019s 1..6 1019s # Start of search tests 1019s # GLib-DEBUG: Started 1019s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1019s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1019s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1019s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1019s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1019s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1019s ok 1 /search/basic 1019s # GLib-DEBUG: Started 1019s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1019s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1019s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1019s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1019s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1019s ok 2 /search/composed 1019s # GLib-DEBUG: Started 1019s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1019s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1019s ok 3 /search/decomposed 1019s # GLib-DEBUG: Started 1019s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1019s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1019s ok 4 /search/turkish 1019s # GLib-DEBUG: Started 1019s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1019s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1019s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1019s ok 5 /search/c_locale_unicode 1019s # GLib-DEBUG: Started 1019s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1019s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1019s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1019s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1019s ok 6 /search/multi_words 1019s # End of search tests 1019s ok - glib/search-utils.test 1019s # Running test: glib/repository.test 1019s TAP version 13 1019s # random seed: R02S1e98304f0212335028fac319fa09e601 1019s 1..21 1019s # Start of repository tests 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/basic/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/basic/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/basic/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/basic/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/basic/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/basic/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/basic/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/basic/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/basic/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/basic/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1019s ok 1 /repository/basic 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/info/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/info/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/info/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/info/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/info/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/info/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/info/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/info/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/info/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/info/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1019s ok 2 /repository/info 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/dependencies/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/dependencies/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/dependencies/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1019s ok 3 /repository/dependencies 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/arg-info/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/arg-info/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/arg-info/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1019s ok 4 /repository/arg-info 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/callable-info/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/callable-info/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/callable-info/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1019s ok 5 /repository/callable-info 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/callback-info/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/callback-info/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/callback-info/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1019s ok 6 /repository/callback-info 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/char-types/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/char-types/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/char-types/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1019s ok 7 /repository/char-types 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/constructor-return-type/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1019s ok 8 /repository/constructor-return-type 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/enum-info-c-identifier/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1019s ok 9 /repository/enum-info-c-identifier 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/enum-info-static-methods/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/enum-info-static-methods summary: Test an enum with methods 1019s ok 10 /repository/enum-info-static-methods 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/error-quark/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/error-quark/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/error-quark/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/error-quark summary: Test finding an error quark by error domain 1019s ok 11 /repository/error-quark 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/flags-info-c-identifier/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1019s ok 12 /repository/flags-info-c-identifier 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/fundamental-ref-func/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1019s ok 13 /repository/fundamental-ref-func 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/instance-method-ownership-transfer/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1019s ok 14 /repository/instance-method-ownership-transfer 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/object-gtype-interfaces/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1019s ok 15 /repository/object-gtype-interfaces 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/signal-info-with-array-length-arg/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1019s ok 16 /repository/signal-info-with-array-length-arg 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/type-info-name/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1019s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1019s ok 17 /repository/type-info-name 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1019s ok 18 /repository/vfunc-info-with-no-invoker 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1019s ok 19 /repository/vfunc-info-with-invoker-on-interface 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1019s ok 20 /repository/vfunc-info-with-invoker-on-object 1019s # Start of base-info tests 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FIC9J2/repository/base-info/clear/.dirs/runtime 1019s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1019s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1019s ok 21 /repository/base-info/clear 1019s # End of base-info tests 1019s # End of repository tests 1019s ok - glib/repository.test 1019s # Running test: glib/gdbus-non-socket.test 1019s TAP version 13 1019s # random seed: R02S36baf275ad6e91b258cbfbf4db0ee442 1019s 1..1 1019s # Start of gdbus tests 1019s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/home 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/cache 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/system-config2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/config 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/system-data2 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/data 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/state 1019s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_Z9W9J2/gdbus/non-socket/.dirs/runtime 1019s ok 1 /gdbus/non-socket 1019s # End of gdbus tests 1019s ok - glib/gdbus-non-socket.test 1019s # Running test: glib/objects-refcount1.test 1019s TAP version 13 1019s # random seed: R02S0fbf115fd4dd636265f1d93d5704a815 1019s 1..1 1019s # Start of gobject tests 1019s # Start of refcount tests 1019s # init 0xb1e41a944740 1019s # 1019s # init 0xb1e41a9448d0 1019s # 1021s # Executing: glib/objects-refcount1.test 1024s # dispose 0xb1e41a944740! 1024s # 1024s # dispose 0xb1e41a9448d0! 1024s # 1024s ok 1 /gobject/refcount/object-basics 1024s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1024s # End of refcount tests 1024s # End of gobject tests 1024s ok - glib/objects-refcount1.test 1024s # Running test: glib/memory-input-stream.test 1024s TAP version 13 1024s # random seed: R02S2348afff31e93ff70ae85dba19cdac57 1024s 1..6 1024s # Start of memory-input-stream tests 1024s ok 1 /memory-input-stream/read-chunks 1024s ok 2 /memory-input-stream/async 1024s ok 3 /memory-input-stream/seek 1024s ok 4 /memory-input-stream/truncate 1024s ok 5 /memory-input-stream/read-bytes 1024s ok 6 /memory-input-stream/from-bytes 1024s # End of memory-input-stream tests 1024s ok - glib/memory-input-stream.test 1024s # Running test: glib/dataset.test 1024s TAP version 13 1024s # random seed: R02S62641fc11f8f88e5b1e39c98e453ef21 1024s 1..14 1024s # Start of quark tests 1024s ok 1 /quark/basic 1024s ok 2 /quark/string 1024s # End of quark tests 1024s # Start of dataset tests 1024s ok 3 /dataset/basic 1024s ok 4 /dataset/id 1024s ok 5 /dataset/full 1024s ok 6 /dataset/foreach 1024s ok 7 /dataset/destroy 1024s # End of dataset tests 1024s # Start of datalist tests 1024s ok 8 /datalist/basic 1024s ok 9 /datalist/id 1024s ok 10 /datalist/recursive-clear 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1024s ok 11 /datalist/id-remove-multiple 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1024s ok 12 /datalist/id-remove-multiple-destroy-order 1024s ok 13 /datalist/update-atomic 1024s # Start of id-remove-multiple tests 1024s ok 14 /datalist/id-remove-multiple/resize 1024s # End of id-remove-multiple tests 1024s # End of datalist tests 1024s ok - glib/dataset.test 1024s # Running test: glib/gdbus-serialization.test 1024s TAP version 13 1024s # random seed: R02S3d423e0d140717c203594d774a3554f9 1024s 1..18 1024s # Start of gdbus tests 1024s # Start of message-serialize tests 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/basic/.dirs/runtime 1024s ok 1 /gdbus/message-serialize/basic 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/complex/.dirs/runtime 1024s ok 2 /gdbus/message-serialize/complex 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/invalid/.dirs/runtime 1024s ok 3 /gdbus/message-serialize/invalid 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/.dirs/runtime 1024s ok 4 /gdbus/message-serialize/header-checks 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/double-array/.dirs/runtime 1024s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1024s ok 5 /gdbus/message-serialize/double-array 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/empty-structure/.dirs/runtime 1024s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1024s ok 6 /gdbus/message-serialize/empty-structure 1024s # Start of header-checks tests 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1024s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1024s ok 7 /gdbus/message-serialize/header-checks/valid 1024s # End of header-checks tests 1024s # End of message-serialize tests 1024s # Start of message-parse tests 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1024s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1024s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/non-signature-header/.dirs/runtime 1024s ok 9 /gdbus/message-parse/non-signature-header 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1024s ok 10 /gdbus/message-parse/empty-signature-header 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1024s ok 11 /gdbus/message-parse/multiple-signature-header 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1024s ok 12 /gdbus/message-parse/over-long-signature-header 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1024s ok 13 /gdbus/message-parse/deep-header-nesting 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1024s ok 14 /gdbus/message-parse/deep-body-nesting 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/truncated/.dirs/runtime 1024s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1024s ok 15 /gdbus/message-parse/truncated 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/empty-structure/.dirs/runtime 1024s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1024s ok 16 /gdbus/message-parse/empty-structure 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/missing-header/.dirs/runtime 1024s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1024s ok 17 /gdbus/message-parse/missing-header 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_S5N6J2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1024s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1024s ok 18 /gdbus/message-parse/invalid-header-type 1024s # End of message-parse tests 1024s # End of gdbus tests 1024s ok - glib/gdbus-serialization.test 1024s # Running test: glib/markup-escape.test 1024s TAP version 13 1024s # random seed: R02S104739db23139b130896fab9e5b43bd5 1024s 1..41 1024s # Start of markup tests 1024s ok 1 /markup/format 1024s # Start of escape-text tests 1024s ok 2 /markup/escape-text/0 1024s ok 3 /markup/escape-text/1 1024s ok 4 /markup/escape-text/2 1024s ok 5 /markup/escape-text/3 1024s ok 6 /markup/escape-text/4 1024s ok 7 /markup/escape-text/5 1024s ok 8 /markup/escape-text/6 1024s ok 9 /markup/escape-text/7 1024s ok 10 /markup/escape-text/8 1024s ok 11 /markup/escape-text/9 1024s ok 12 /markup/escape-text/10 1024s ok 13 /markup/escape-text/11 1024s ok 14 /markup/escape-text/12 1024s ok 15 /markup/escape-text/13 1024s ok 16 /markup/escape-text/14 1024s ok 17 /markup/escape-text/15 1024s ok 18 /markup/escape-text/16 1024s ok 19 /markup/escape-text/17 1024s ok 20 /markup/escape-text/18 1024s ok 21 /markup/escape-text/19 1024s ok 22 /markup/escape-text/20 1024s ok 23 /markup/escape-text/21 1024s ok 24 /markup/escape-text/22 1024s # End of escape-text tests 1024s # Start of escape-unichar tests 1024s ok 25 /markup/escape-unichar/0 1024s ok 26 /markup/escape-unichar/1 1024s ok 27 /markup/escape-unichar/2 1024s ok 28 /markup/escape-unichar/3 1024s ok 29 /markup/escape-unichar/4 1024s ok 30 /markup/escape-unichar/5 1024s ok 31 /markup/escape-unichar/6 1024s ok 32 /markup/escape-unichar/7 1024s ok 33 /markup/escape-unichar/8 1024s ok 34 /markup/escape-unichar/9 1024s ok 35 /markup/escape-unichar/10 1024s ok 36 /markup/escape-unichar/11 1024s ok 37 /markup/escape-unichar/12 1024s ok 38 /markup/escape-unichar/13 1024s ok 39 /markup/escape-unichar/14 1024s ok 40 /markup/escape-unichar/15 1024s ok 41 /markup/escape-unichar/16 1024s # End of escape-unichar tests 1024s # End of markup tests 1024s ok - glib/markup-escape.test 1024s # Running test: glib/include.test 1024s TAP version 13 1024s # random seed: R02Sd22d3962fd125a0a7e248f3d7255b268 1024s 1..1 1024s # Start of include tests 1024s ok 1 /include/rwlock 1024s # End of include tests 1024s ok - glib/include.test 1024s # Running test: glib/memory-monitor-dbus.test 1025s TAP version 13 1025s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1025s 1..1 1025s ok - glib/memory-monitor-dbus.test 1025s # Running test: glib/portal-support-snap.test 1025s TAP version 13 1025s # random seed: R02S79b7f6bc728ba20739f288d66c8f74ab 1025s 1..7 1025s # Start of portal-support tests 1025s # Start of snap tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/no-snapctl/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s ok 1 /portal-support/snap/no-snapctl 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/none/.dirs/runtime/snapctl 1025s ok 2 /portal-support/snap/none 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/all/.dirs/runtime/snapctl 1025s ok 3 /portal-support/snap/all 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1025s ok 4 /portal-support/snap/desktop-only 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/network-only/.dirs/runtime/snapctl 1025s ok 5 /portal-support/snap/network-only 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1025s ok 6 /portal-support/snap/gsettings-only 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime 1025s # Created snap.yaml in /tmp/test_portal-support-snap_WBF6J2/meta/snap.yaml 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s # Created snapctl in /tmp/test_portal-support-snap_WBF6J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1025s ok 7 /portal-support/snap/updates-dynamically 1025s # End of snap tests 1025s # End of portal-support tests 1025s ok - glib/portal-support-snap.test 1025s # Running test: glib/signals-refcount2.test 1025s TAP version 13 1025s # random seed: R02S225e3bb7fd998284fd29a1ddcdae4438 1025s 1..1 1025s # Start of gobject tests 1025s # Start of refcount tests 1025s # init 0xbbd974797420 1025s # 1025s # init 0xbbd9747975c0 1025s # 1026s # Executing: glib/signals-refcount2.test 1030s # dispose 0xbbd974797420! 1030s # 1030s # dispose 0xbbd9747975c0! 1030s # 1030s ok 1 /gobject/refcount/signals 1030s # slow test /gobject/refcount/signals executed in 5.01 secs 1030s # End of refcount tests 1030s # End of gobject tests 1030s ok - glib/signals-refcount2.test 1030s # Running test: glib/642026.test 1030s TAP version 13 1030s # random seed: R02S63338bea01ef8675f4f86e98eeedb121 1030s 1..1 1030s # Start of glib tests 1030s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1030s ok 1 /glib/642026 1030s # End of glib tests 1030s ok - glib/642026.test 1030s # Running test: glib/gdbus-test-codegen.test 1030s TAP version 13 1030s # random seed: R02S360bdef052bf5157d4f7e1d1cc8e6d99 1030s 1..8 1030s # Start of gdbus tests 1030s # Start of codegen tests 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/annotations/.dirs/runtime 1030s ok 1 /gdbus/codegen/annotations 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/interface_stability/.dirs/runtime 1030s ok 2 /gdbus/codegen/interface_stability 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/object-manager/.dirs/runtime 1030s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1030s ok 3 /gdbus/codegen/object-manager 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/property-naming/.dirs/runtime 1030s ok 4 /gdbus/codegen/property-naming 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/autocleanups/.dirs/runtime 1030s ok 5 /gdbus/codegen/autocleanups 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/deprecations/.dirs/runtime 1030s ok 6 /gdbus/codegen/deprecations 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1030s ok 7 /gdbus/codegen/standalone-interface-info 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JGQ1J2/gdbus/codegen/unix-fd-list/.dirs/runtime 1030s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1030s ok 8 /gdbus/codegen/unix-fd-list 1030s # End of codegen tests 1030s # End of gdbus tests 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s ok - glib/gdbus-test-codegen.test 1030s # Running test: glib/guuid.test 1030s TAP version 13 1030s # random seed: R02Sa5e653d95a962a63d05458bd158e573b 1030s 1..2 1030s # Start of uuid tests 1030s ok 1 /uuid/string 1030s ok 2 /uuid/random 1030s # End of uuid tests 1030s ok - glib/guuid.test 1030s # Running test: glib/gdbus-connection-flush.test 1030s TAP version 13 1030s # random seed: R02Sa174a816aa779cc2baa317aea3d90e9b 1030s 1..2 1030s # Start of gdbus tests 1030s # Start of connection tests 1030s # Start of flush tests 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/busy/.dirs/runtime 1030s ok 1 /gdbus/connection/flush/busy 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_YFN0J2/gdbus/connection/flush/idle/.dirs/runtime 1030s ok 2 /gdbus/connection/flush/idle 1030s # End of flush tests 1030s # End of connection tests 1030s # End of gdbus tests 1030s ok - glib/gdbus-connection-flush.test 1030s # Running test: glib/utf8-misc.test 1030s TAP version 13 1030s # random seed: R02S16755381e6cb51474b771a01c73a764b 1030s 1..7 1030s # Start of utf8 tests 1030s ok 1 /utf8/strlen 1030s ok 2 /utf8/strncpy 1030s ok 3 /utf8/strrchr 1030s ok 4 /utf8/reverse 1030s ok 5 /utf8/substring 1030s ok 6 /utf8/make-valid 1030s ok 7 /utf8/truncate-middle 1030s # End of utf8 tests 1030s ok - glib/utf8-misc.test 1030s # Running test: glib/socket-service.test 1030s TAP version 13 1030s # random seed: R02S0d734de4d3d4c401e0dd7dd858050eb6 1030s 1..4 1030s # Start of socket-service tests 1030s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1030s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb100fabd0340 and GSocketClientAsyncConnectData 0xb100fabc8620 1030s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1030s ok 1 /socket-service/start-stop 1030s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb100fabd1ea0 and GSocketClientAsyncConnectData 0xb100fabd1c40 1030s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1030s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1030s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb100fabd23b0 for GSocketClientAsyncConnectData 0xb100fabc8620 1030s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1030s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1030s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1030s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1030s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1030s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb100fabd3230 for GSocketClientAsyncConnectData 0xb100fabd1c40 1030s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1030s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1030s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1030s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1030s ok 2 /socket-service/read_write_async 1030s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb100fabd5f80 and GSocketClientAsyncConnectData 0xb100fabd39a0 1030s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1030s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1030s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb100fabd4160 for GSocketClientAsyncConnectData 0xb100fabd39a0 1030s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1030s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1030s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1030s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1030s ok 3 /socket-service/read_writev_async 1030s # Start of threaded tests 1030s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1030s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb100fabd76e0 and GSocketClientAsyncConnectData 0xb100fabd3d20 1030s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1030s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1030s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb100fabd7910 for GSocketClientAsyncConnectData 0xb100fabd3d20 1030s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1030s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1030s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1030s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1030s ok 4 /socket-service/threaded/712570 1030s # End of threaded tests 1030s # End of socket-service tests 1030s ok - glib/socket-service.test 1030s # Running test: glib/gdbus-proxy-well-known-name.test 1030s TAP version 13 1030s # random seed: R02S3018ba5f79abc13782b81cdcd17c837c 1030s 1..1 1030s # Start of gdbus tests 1030s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/home 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/cache 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/system-config2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/config 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/system-data2 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/data 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/state 1030s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_UYUZJ2/gdbus/proxy-well-known-name/.dirs/runtime 1030s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1030s ok 1 /gdbus/proxy-well-known-name 1030s # End of gdbus tests 1030s ok - glib/gdbus-proxy-well-known-name.test 1030s # Running test: glib/gdatetime.test 1030s TAP version 13 1030s # random seed: R02S73f91b1ff463060d6e3935587d9cf70e 1030s 1..68 1030s # Start of GDateTime tests 1030s # Bug Reference: http://bugzilla.gnome.org/702674 1030s ok 1 /GDateTime/invalid 1030s ok 2 /GDateTime/add_days 1030s ok 3 /GDateTime/add_full 1030s ok 4 /GDateTime/add_hours 1030s ok 5 /GDateTime/add_minutes 1030s ok 6 /GDateTime/add_months 1030s ok 7 /GDateTime/add_seconds 1030s ok 8 /GDateTime/add_weeks 1030s ok 9 /GDateTime/add_years 1030s ok 10 /GDateTime/compare 1030s ok 11 /GDateTime/diff 1030s ok 12 /GDateTime/equal 1030s ok 13 /GDateTime/get_day_of_week 1030s ok 14 /GDateTime/get_day_of_month 1030s ok 15 /GDateTime/get_day_of_year 1030s ok 16 /GDateTime/get_hour 1030s ok 17 /GDateTime/get_microsecond 1030s ok 18 /GDateTime/get_minute 1030s ok 19 /GDateTime/get_month 1030s ok 20 /GDateTime/get_second 1030s ok 21 /GDateTime/get_utc_offset 1030s ok 22 /GDateTime/get_year 1030s ok 23 /GDateTime/hash 1030s ok 24 /GDateTime/new_from_unix 1030s ok 25 /GDateTime/new_from_unix_utc 1030s ok 26 /GDateTime/new_from_timeval 1030s ok 27 /GDateTime/new_from_timeval_utc 1030s ok 28 /GDateTime/new_from_iso8601 1030s ok 29 /GDateTime/new_full 1030s ok 30 /GDateTime/now 1030s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1030s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1030s # %a -> expected: Sat 1030s # %a -> actual: Sat 1030s # %A -> expected: Saturday 1030s # %A -> actual: Saturday 1030s # %b -> expected: Oct 1030s # %b -> actual: Oct 1030s # %B -> expected: October 1030s # %B -> actual: October 1030s # %d -> expected: 24 1030s # %d -> actual: 24 1030s # %d -> expected: 01 1030s # %d -> actual: 01 1030s # %e -> expected: 24 1030s # %e -> actual: 24 1030s # %e -> expected:  1 1030s # %e -> actual:  1 1030s # %f -> expected: 001000 1030s # %f -> actual: 001000 1030s # %h -> expected: Oct 1030s # %h -> actual: Oct 1030s # %H -> expected: 00 1030s # %H -> actual: 00 1030s # %H -> expected: 15 1030s # %H -> actual: 15 1030s # %I -> expected: 12 1030s # %I -> actual: 12 1030s # %I -> expected: 12 1030s # %I -> actual: 12 1030s # %I -> expected: 03 1030s # %I -> actual: 03 1030s # %j -> expected: 297 1030s # %j -> actual: 297 1030s # %k -> expected:  0 1030s # %k -> actual:  0 1030s # %k -> expected: 13 1030s # %k -> actual: 13 1030s # %l -> expected: 12 1030s # %l -> actual: 12 1030s # %I -> expected: 12 1030s # %I -> actual: 12 1030s # %l -> expected:  1 1030s # %l -> actual:  1 1030s # %l -> expected: 10 1030s # %l -> actual: 10 1030s # %m -> expected: 10 1030s # %m -> actual: 10 1030s # %M -> expected: 00 1030s # %M -> actual: 00 1030s # %p -> expected: AM 1030s # %p -> actual: AM 1030s # %p -> expected: PM 1030s # %p -> actual: PM 1030s # %P -> expected: am 1030s # %P -> actual: am 1030s # %P -> expected: pm 1030s # %P -> actual: pm 1030s # %r -> expected: 12:00:00 AM 1030s # %r -> actual: 12:00:00 AM 1030s # %r -> expected: 01:13:13 PM 1030s # %r -> actual: 01:13:13 PM 1030s # %R -> expected: 00:00 1030s # %R -> actual: 00:00 1030s # %R -> expected: 13:13 1030s # %R -> actual: 13:13 1030s # %S -> expected: 00 1030s # %S -> actual: 00 1030s # %t -> expected: 1030s # %t -> actual: 1030s # %u -> expected: 6 1030s # %u -> actual: 6 1030s # %x -> expected: 10/24/09 1030s # %x -> actual: 10/24/09 1030s # %X -> expected: 00:00:00 1030s # %X -> actual: 00:00:00 1030s # %X -> expected: 13:14:15 1030s # %X -> actual: 13:14:15 1030s # %y -> expected: 09 1030s # %y -> actual: 09 1030s # %Y -> expected: 2009 1030s # %Y -> actual: 2009 1030s # %% -> expected: % 1030s # %% -> actual: % 1030s # % -> expected: 1030s # % -> actual: 1030s # %9 -> expected: (null) 1030s # %9 -> actual: (null) 1030s # %Z -> expected: UTC 1030s # %Z -> actual: UTC 1030s ok 32 /GDateTime/printf 1030s # %a -> expected: 1030s # %a -> actual: 1030s # %A -> expected: 1030s # %A -> actual: 1030s # %b -> expected: 10 1030s # %b -> actual: 10 1030s # %B -> expected: 10 1030s # %B -> actual: 10 1030s # %c -> expected: 2009ǯ1024 0000ʬ00 1030s # %c -> actual: 2009ǯ1024 0000ʬ00 1030s # %C -> expected: 20 1030s # %C -> actual: 20 1030s # %d -> expected: 24 1030s # %d -> actual: 24 1030s # %d -> expected: 01 1030s # %d -> actual: 01 1030s # %e -> expected: 24 1030s # %e -> actual: 24 1030s # %h -> expected: 10 1030s # %h -> actual: 10 1030s # %H -> expected: 00 1030s # %H -> actual: 00 1030s # %H -> expected: 15 1030s # %H -> actual: 15 1030s # %I -> expected: 12 1030s # %I -> actual: 12 1030s # %I -> expected: 12 1030s # %I -> actual: 12 1030s # %I -> expected: 03 1030s # %I -> actual: 03 1030s # %j -> expected: 297 1030s # %j -> actual: 297 1030s # %k -> expected: ?0 1030s # %k -> actual: ?0 1030s # %k -> expected: 13 1030s # %k -> actual: 13 1030s # %l -> expected: 12 1030s # %l -> actual: 12 1030s # %I -> expected: 12 1030s # %I -> actual: 12 1030s # %l -> expected: ?1 1030s # %l -> actual: ?1 1030s # %l -> expected: 10 1030s # %l -> actual: 10 1030s # %m -> expected: 10 1030s # %m -> actual: 10 1030s # %M -> expected: 00 1030s # %M -> actual: 00 1030s # %p -> expected: 1030s # %p -> actual: 1030s # %p -> expected: 1030s # %p -> actual: 1030s # %P -> expected: 1030s # %P -> actual: 1030s # %P -> expected: 1030s # %P -> actual: 1030s # %r -> expected: 1200ʬ00 1030s # %r -> actual: 1200ʬ00 1030s # %r -> expected: 0113ʬ13 1030s # %r -> actual: 0113ʬ13 1030s # %R -> expected: 00:00 1030s # %R -> actual: 00:00 1030s # %R -> expected: 13:13 1030s # %R -> actual: 13:13 1030s # %S -> expected: 00 1030s # %S -> actual: 00 1030s # %t -> expected: 1030s # %t -> actual: 1030s # %u -> expected: 6 1030s # %u -> actual: 6 1030s # %x -> expected: 2009ǯ1024 1030s # %x -> actual: 2009ǯ1024 1030s # %X -> expected: 0000ʬ00 1030s # %X -> actual: 0000ʬ00 1030s # %X -> expected: 1314ʬ15 1030s # %X -> actual: 1314ʬ15 1030s # %y -> expected: 09 1030s # %y -> actual: 09 1030s # %Y -> expected: 2009 1030s # %Y -> actual: 2009 1030s # %% -> expected: % 1030s # %% -> actual: % 1030s # % -> expected: 1030s # % -> actual: 1030s # %9 -> expected: (null) 1030s # %9 -> actual: (null) 1030s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1030s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1030s # %EC -> expected: ʿ 1030s # %EC -> actual: ʿ 1030s # %Ex -> expected: ʿ21ǯ1024 1030s # %Ex -> actual: ʿ21ǯ1024 1030s # %EX -> expected: 0000ʬ00 1030s # %EX -> actual: 0000ʬ00 1030s # %Ey -> expected: 21 1030s # %Ey -> actual: 21 1030s # %EY -> expected: ʿ21ǯ 1030s # %EY -> actual: ʿ21ǯ 1030s ok 33 /GDateTime/non_utf8_printf 1030s # ???? -> expected: ???? 1030s # ???? -> actual: ???? 1030s # %H?%M -> expected: 23?15 1030s # %H?%M -> actual: 23?15 1030s # %H?%M -> expected: 23?15 1030s # %H?%M -> actual: 23?15 1030s ok 34 /GDateTime/format_unrepresentable 1030s ok 35 /GDateTime/format_iso8601 1031s # Executing: glib/gdatetime.test 1031s ok 36 /GDateTime/strftime 1031s # %d -> expected: 01 1031s # %d -> actual: 01 1031s # %_d -> expected: 1 1031s # %_d -> actual: 1 1031s # %-d -> expected: 1 1031s # %-d -> actual: 1 1031s # %0d -> expected: 01 1031s # %0d -> actual: 01 1031s # %d -> expected: 21 1031s # %d -> actual: 21 1031s # %_d -> expected: 21 1031s # %_d -> actual: 21 1031s # %-d -> expected: 21 1031s # %-d -> actual: 21 1031s # %0d -> expected: 21 1031s # %0d -> actual: 21 1031s # %e -> expected:  1 1031s # %e -> actual:  1 1031s # %_e -> expected: 1 1031s # %_e -> actual: 1 1031s # %-e -> expected: 1 1031s # %-e -> actual: 1 1031s # %0e -> expected: 01 1031s # %0e -> actual: 01 1031s # %e -> expected: 21 1031s # %e -> actual: 21 1031s # %_e -> expected: 21 1031s # %_e -> actual: 21 1031s # %-e -> expected: 21 1031s # %-e -> actual: 21 1031s # %0e -> expected: 21 1031s # %0e -> actual: 21 1031s # %a -> expected: Thu 1031s # %a -> actual: Thu 1031s # %^a -> expected: THU 1031s # %^a -> actual: THU 1031s # %#a -> expected: THU 1031s # %#a -> actual: THU 1031s # %A -> expected: Thursday 1031s # %A -> actual: Thursday 1031s # %^A -> expected: THURSDAY 1031s # %^A -> actual: THURSDAY 1031s # %#A -> expected: THURSDAY 1031s # %#A -> actual: THURSDAY 1031s # %b -> expected: Jan 1031s # %b -> actual: Jan 1031s # %^b -> expected: JAN 1031s # %^b -> actual: JAN 1031s # %#b -> expected: JAN 1031s # %#b -> actual: JAN 1031s # %B -> expected: January 1031s # %B -> actual: January 1031s # %^B -> expected: JANUARY 1031s # %^B -> actual: JANUARY 1031s # %#B -> expected: JANUARY 1031s # %#B -> actual: JANUARY 1031s # %h -> expected: Jan 1031s # %h -> actual: Jan 1031s # %^h -> expected: JAN 1031s # %^h -> actual: JAN 1031s # %#h -> expected: JAN 1031s # %#h -> actual: JAN 1031s # %Z -> expected: UTC 1031s # %Z -> actual: UTC 1031s # %^Z -> expected: UTC 1031s # %^Z -> actual: UTC 1031s # %#Z -> expected: utc 1031s # %#Z -> actual: utc 1031s # %H -> expected: 01 1031s # %H -> actual: 01 1031s # %_H -> expected: 1 1031s # %_H -> actual: 1 1031s # %-H -> expected: 1 1031s # %-H -> actual: 1 1031s # %0H -> expected: 01 1031s # %0H -> actual: 01 1031s # %H -> expected: 21 1031s # %H -> actual: 21 1031s # %_H -> expected: 21 1031s # %_H -> actual: 21 1031s # %-H -> expected: 21 1031s # %-H -> actual: 21 1031s # %0H -> expected: 21 1031s # %0H -> actual: 21 1031s # %I -> expected: 01 1031s # %I -> actual: 01 1031s # %_I -> expected: 1 1031s # %_I -> actual: 1 1031s # %-I -> expected: 1 1031s # %-I -> actual: 1 1031s # %0I -> expected: 01 1031s # %0I -> actual: 01 1031s # %I -> expected: 11 1031s # %I -> actual: 11 1031s # %_I -> expected: 11 1031s # %_I -> actual: 11 1031s # %-I -> expected: 11 1031s # %-I -> actual: 11 1031s # %0I -> expected: 11 1031s # %0I -> actual: 11 1031s # %k -> expected:  1 1031s # %k -> actual:  1 1031s # %_k -> expected: 1 1031s # %_k -> actual: 1 1031s # %-k -> expected: 1 1031s # %-k -> actual: 1 1031s # %0k -> expected: 01 1031s # %0k -> actual: 01 1031s # %l -> expected:  1 1031s # %l -> actual:  1 1031s # %_l -> expected: 1 1031s # %_l -> actual: 1 1031s # %-l -> expected: 1 1031s # %-l -> actual: 1 1031s # %0l -> expected: 01 1031s # %0l -> actual: 01 1031s # %l -> expected: 11 1031s # %l -> actual: 11 1031s # %_l -> expected: 11 1031s # %_l -> actual: 11 1031s # %-l -> expected: 11 1031s # %-l -> actual: 11 1031s # %0l -> expected: 11 1031s # %0l -> actual: 11 1031s # %p -> expected: AM 1031s # %p -> actual: AM 1031s # %^p -> expected: AM 1031s # %^p -> actual: AM 1031s # %#p -> expected: am 1031s # %#p -> actual: am 1031s # %P -> expected: am 1031s # %P -> actual: am 1031s # %^P -> expected: AM 1031s # %^P -> actual: AM 1031s # %#P -> expected: am 1031s # %#P -> actual: am 1031s # %OH -> expected: ۲۳ 1031s # %OH -> actual: ۲۳ 1031s # %OI -> expected: ۱۱ 1031s # %OI -> actual: ۱۱ 1031s # %OM -> expected: ۰۰ 1031s # %OM -> actual: ۰۰ 1031s # %Om -> expected: ۰۷ 1031s # %Om -> actual: ۰۷ 1031s # %0Om -> expected: ۰۷ 1031s # %0Om -> actual: ۰۷ 1031s # %-Om -> expected: ۷ 1031s # %-Om -> actual: ۷ 1031s # %_Om -> expected: ۷ 1031s # %_Om -> actual: ۷ 1031s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1031s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1031s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1031s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1031s # %C -> expected: 20 1031s # %C -> actual: 20 1031s # %EC -> expected: 20 1031s # %EC -> actual: 20 1031s # %x -> expected: 02/01/09 1031s # %x -> actual: 02/01/09 1031s # %Ex -> expected: 02/01/09 1031s # %Ex -> actual: 02/01/09 1031s # %X -> expected: 01:02:03 1031s # %X -> actual: 01:02:03 1031s # %EX -> expected: 01:02:03 1031s # %EX -> actual: 01:02:03 1031s # %y -> expected: 09 1031s # %y -> actual: 09 1031s # %Ey -> expected: 09 1031s # %Ey -> actual: 09 1031s # %Y -> expected: 2009 1031s # %Y -> actual: 2009 1031s # %EY -> expected: 2009 1031s # %EY -> actual: 2009 1031s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1031s # Bug Reference: http://bugzilla.gnome.org/749206 1031s # %B -> expected: January 1031s # %B -> actual: January 1031s # %OB -> expected: February 1031s # %OB -> actual: February 1031s # %b -> expected: Mar 1031s # %b -> actual: Mar 1031s # %Ob -> expected: Apr 1031s # %Ob -> actual: Apr 1031s # %h -> expected: May 1031s # %h -> actual: May 1031s # %Oh -> expected: Jun 1031s # %Oh -> actual: Jun 1031s # %B -> expected: Juli 1031s # %B -> actual: Juli 1031s # %OB -> expected: August 1031s # %OB -> actual: August 1031s # %b -> expected: Sep 1031s # %b -> actual: Sep 1031s # %Ob -> expected: Okt 1031s # %Ob -> actual: Okt 1031s # %h -> expected: Nov 1031s # %h -> actual: Nov 1031s # %Oh -> expected: Dez 1031s # %Oh -> actual: Dez 1031s # %B -> expected: enero 1031s # %B -> actual: enero 1031s # %OB -> expected: febrero 1031s # %OB -> actual: febrero 1031s # %b -> expected: mar 1031s # %b -> actual: mar 1031s # %Ob -> expected: abr 1031s # %Ob -> actual: abr 1031s # %h -> expected: may 1031s # %h -> actual: may 1031s # %Oh -> expected: jun 1031s # %Oh -> actual: jun 1031s # %B -> expected: juillet 1031s # %B -> actual: juillet 1031s # %OB -> expected: août 1031s # %OB -> actual: août 1031s # %b -> expected: sept. 1031s # %b -> actual: sept. 1031s # %Ob -> expected: oct. 1031s # %Ob -> actual: oct. 1031s # %h -> expected: nov. 1031s # %h -> actual: nov. 1031s # %Oh -> expected: déc. 1031s # %Oh -> actual: déc. 1031s # %B -> expected: Ιανουαρίου 1031s # %B -> actual: Ιανουαρίου 1031s # %B -> expected: Φεβρουαρίου 1031s # %B -> actual: Φεβρουαρίου 1031s # %B -> expected: Μαρτίου 1031s # %B -> actual: Μαρτίου 1031s # %OB -> expected: Απρίλιος 1031s # %OB -> actual: Απρίλιος 1031s # %OB -> expected: Μάιος 1031s # %OB -> actual: Μάιος 1031s # %OB -> expected: Ιούνιος 1031s # %OB -> actual: Ιούνιος 1031s # %b -> expected: Ιουλ 1031s # %b -> actual: Ιουλ 1031s # %Ob -> expected: Αύγ 1031s # %Ob -> actual: Αύγ 1031s # %B -> expected: svibnja 1031s # %B -> actual: svibnja 1031s # %B -> expected: lipnja 1031s # %B -> actual: lipnja 1031s # %B -> expected: srpnja 1031s # %B -> actual: srpnja 1031s # %OB -> expected: Kolovoz 1031s # %OB -> actual: kolovoz 1031s # %OB -> expected: Rujan 1031s # %OB -> actual: rujan 1031s # %OB -> expected: Listopad 1031s # %OB -> actual: listopad 1031s # %b -> expected: Stu 1031s # %b -> actual: stu 1031s # %Ob -> expected: Pro 1031s # %Ob -> actual: pro 1031s # %B -> expected: sausio 1031s # %B -> actual: sausio 1031s # %B -> expected: vasario 1031s # %B -> actual: vasario 1031s # %B -> expected: kovo 1031s # %B -> actual: kovo 1031s # %OB -> expected: balandis 1031s # %OB -> actual: balandis 1031s # %OB -> expected: gegužė 1031s # %OB -> actual: gegužė 1031s # %OB -> expected: birželis 1031s # %OB -> actual: birželis 1031s # %b -> expected: liep. 1031s # %b -> actual: liep. 1031s # %Ob -> expected: rugp. 1031s # %Ob -> actual: rugp. 1031s # %B -> expected: maja 1031s # %B -> actual: maja 1031s # %B -> expected: czerwca 1031s # %B -> actual: czerwca 1031s # %B -> expected: lipca 1031s # %B -> actual: lipca 1031s # %OB -> expected: sierpień 1031s # %OB -> actual: sierpień 1031s # %OB -> expected: wrzesień 1031s # %OB -> actual: wrzesień 1031s # %OB -> expected: październik 1031s # %OB -> actual: październik 1031s # %b -> expected: lis 1031s # %b -> actual: lis 1031s # %Ob -> expected: gru 1031s # %Ob -> actual: gru 1031s # %B -> expected: января 1031s # %B -> actual: января 1031s # %B -> expected: февраля 1031s # %B -> actual: февраля 1031s # %B -> expected: марта 1031s # %B -> actual: марта 1031s # %OB -> expected: Апрель 1031s # %OB -> actual: Апрель 1031s # %OB -> expected: Май 1031s # %OB -> actual: Май 1031s # %OB -> expected: Июнь 1031s # %OB -> actual: Июнь 1031s # %b -> expected: июл 1031s # %b -> actual: июл 1031s # %Ob -> expected: авг 1031s # %Ob -> actual: авг 1031s # %b -> expected: мая 1031s # %b -> actual: мая 1031s # %Ob -> expected: май 1031s # %Ob -> actual: май 1031s ok 38 /GDateTime/month_names 1031s ok 39 /GDateTime/to_local 1031s ok 40 /GDateTime/to_unix 1031s ok 41 /GDateTime/to_timeval 1031s ok 42 /GDateTime/to_utc 1031s ok 43 /GDateTime/now_utc 1031s ok 44 /GDateTime/dst 1031s # Bug Reference: http://bugzilla.gnome.org/642935 1031s ok 45 /GDateTime/test_z 1032s ok 46 /GDateTime/test-all-dates 1032s # slow test /GDateTime/test-all-dates executed in 0.95 secs 1032s ok 47 /GDateTime/unix_usec 1032s # Start of new_from_unix tests 1032s # Bug Reference: http://bugzilla.gnome.org/782089 1032s ok 48 /GDateTime/new_from_unix/overflow 1032s # End of new_from_unix tests 1032s # Start of new_from_timeval tests 1032s # Bug Reference: http://bugzilla.gnome.org/782089 1032s # Maximum supported GTimeVal.tv_sec = 253402300799 1032s ok 49 /GDateTime/new_from_timeval/overflow 1032s # End of new_from_timeval tests 1032s # Start of new_from_iso8601 tests 1032s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1032s # Vector 0: 1990-11-01T10:21:17Z 1032s # Vector 1: 19901101T102117Z 1032s # Vector 2: 1970-01-01T00:00:17.12Z 1032s # Vector 3: 1970-01-01T00:00:17.1234Z 1032s # Vector 4: 1970-01-01T00:00:17.123456Z 1032s # Vector 5: 1980-02-22T12:36:00+02:00 1032s # Vector 6: 1990-12-31T15:59:60-08:00 1032s # Vector 7: 1032s # Vector 8: x 1032s # Vector 9: 123x 1032s # Vector 10: 2001-10+x 1032s # Vector 11: 1980-02-22T 1032s # Vector 12: 2001-10-08Tx 1032s # Vector 13: 2001-10-08T10:11x 1032s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1032s # Vector 15: 1980-02-22T10:36:00Zulu 1032s # Vector 16: 2T0+819855292164632335 1032s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1032s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1032s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1032s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1032s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1032s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1032s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1032s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1032s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1032s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1032s # Vector 27: 20180803T140805.446178377+0100 1032s # Vector 28: 21474836480803T140805.446178377+0100 1032s # Vector 29: 20181303T140805.446178377+0100 1032s # Vector 30: 20180003T140805.446178377+0100 1032s # Vector 31: 20180800T140805.446178377+0100 1032s # Vector 32: 20180832T140805.446178377+0100 1032s # Vector 33: 20180803T240805.446178377+0100 1032s # Vector 34: 20180803T146005.446178377+0100 1032s # Vector 35: 20180803T140863.446178377+0100 1032s # Vector 36: 20180803T140805.446178377+10000 1032s # Vector 37: -0005-01-01T00:00:00Z 1032s # Vector 38: 2018-08-06 1032s # Vector 39: 20180803T140805,446178377+0100 1032s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1032s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1032s # Vector 42: 1990-11-01T10:21:17 1032s # Vector 43: 1719W462 407777-07 1032s # Vector 44: 4011090 260528Z 1032s # Vector 45: 0000W011 228214-22 1032s ok 50 /GDateTime/new_from_iso8601/2 1032s # End of new_from_iso8601 tests 1032s # Start of format_mixed tests 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: mar 1032s # %b -> actual: Mar 1032s # %B -> expected: march 1032s # %B -> actual: March 1032s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: mar 1032s # %b -> actual: Mar 1032s # %B -> expected: march 1032s # %B -> actual: March 1032s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: Mär 1032s # %b -> actual: Mär 1032s # %B -> expected: März 1032s # %B -> actual: März 1032s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: Mär 1032s # %b -> actual: Mär 1032s # %B -> expected: März 1032s # %B -> actual: März 1032s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1032s # End of format_mixed tests 1032s # Start of strftime tests 1032s # %r -> expected: (null) 1032s # %r -> actual: (null) 1032s ok 55 /GDateTime/strftime/error_handling 1032s # End of strftime tests 1032s # Start of eras tests 1032s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1032s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1032s # %EC -> expected: 令和 1032s # %EC -> actual: 令和 1032s # %Ex -> expected: 令和05年06月01日 1032s # %Ex -> actual: 令和05年06月01日 1032s # %EX -> expected: 00時00分00秒 1032s # %EX -> actual: 00時00分00秒 1032s # %Ey -> expected: 05 1032s # %Ey -> actual: 05 1032s # %EY -> expected: 令和05年 1032s # %EY -> actual: 令和05年 1032s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1032s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1032s # %EC -> expected: 平成 1032s # %EC -> actual: 平成 1032s # %Ex -> expected: 平成31年04月30日 1032s # %Ex -> actual: 平成31年04月30日 1032s # %EX -> expected: 00時00分00秒 1032s # %EX -> actual: 00時00分00秒 1032s # %Ey -> expected: 31 1032s # %Ey -> actual: 31 1032s # %EY -> expected: 平成31年 1032s # %EY -> actual: 平成31年 1032s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1032s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1032s # %EC -> expected: 昭和 1032s # %EC -> actual: 昭和 1032s # %Ex -> expected: 昭和元年12月25日 1032s # %Ex -> actual: 昭和元年12月25日 1032s # %EX -> expected: 00時00分00秒 1032s # %EX -> actual: 00時00分00秒 1032s # %Ey -> expected: 01 1032s # %Ey -> actual: 01 1032s # %EY -> expected: 昭和元年 1032s # %EY -> actual: 昭和元年 1032s ok 56 /GDateTime/eras/japan 1032s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1032s # Vector 0: 1032s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1032s # 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年 1032s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1032s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1032s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1032s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1032s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1032s # Vector 8: + 1032s # Vector 9: +: 1032s # Vector 10: +:: 1032s # Vector 11: +:200 1032s # Vector 12: +:2nonsense 1032s # Vector 13: +:2nonsense: 1032s # Vector 14: +:2: 1032s # Vector 15: +:2:: 1032s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1032s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1032s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1032s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1032s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1032s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1032s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1032s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1032s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1032s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1032s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1032s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1032s # Vector 28: +:2:2020/01/01 1032s # Vector 29: +:2:2020/01/01: 1032s # Vector 30: +:2:2020/01/01:: 1032s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1032s # Vector 32: +:2:2020/01/01:+* 1032s # Vector 33: +:2:2020/01/01:+*: 1032s # Vector 34: +:2:2020/01/01:+*:: 1032s # Vector 35: +:2:2020/01/01:+*:令和 1032s # Vector 36: +:2:2020/01/01:+*:令和: 1032s # Vector 37: +:2:2020/01/01:+*:令和:; 1032s ok 58 /GDateTime/eras/parsing 1032s # End of eras tests 1032s # End of GDateTime tests 1032s # Start of GTimeZone tests 1032s ok 59 /GTimeZone/find-interval 1032s ok 60 /GTimeZone/adjust-time 1032s ok 61 /GTimeZone/no-header 1032s ok 62 /GTimeZone/no-header-identifier 1032s ok 63 /GTimeZone/posix-parse 1032s # Bug Reference: http://bugzilla.gnome.org/697715 1032s ok 64 /GTimeZone/floating-point 1032s # System time zone identifier: Etc/UTC 1032s ok 65 /GTimeZone/identifier 1032s # Vector 0: -158400 1032s # Vector 1: -10000 1032s # Vector 2: -3600 1032s # Vector 3: -61 1032s # Vector 4: -60 1032s # Vector 5: -59 1032s # Vector 6: 0 1032s # Vector 7: 59 1032s # Vector 8: 60 1032s # Vector 9: 61 1032s # Vector 10: 3600 1032s # Vector 11: 10000 1032s # Vector 12: 158400 1032s ok 66 /GTimeZone/new-offset 1032s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1032s ok 67 /GTimeZone/parse-rfc8536 1032s # /GTimeZone/caching summary: GTimeZone instances are cached 1032s ok 68 /GTimeZone/caching 1032s # End of GTimeZone tests 1032s ok - glib/gdatetime.test 1032s # Running test: glib/references.test 1032s TAP version 13 1032s # random seed: R02S9ff515ec19c3aa1f6502c119744541d7 1032s 1..1 1032s # Start of gobject tests 1032s ok 1 /gobject/references 1032s # End of gobject tests 1032s ok - glib/references.test 1032s # Running test: glib/type.test 1032s TAP version 13 1032s # random seed: R02S824ccfd12a4467ef6cd333b0603a69c1 1032s 1..6 1032s # Start of type tests 1032s ok 1 /type/registration-serial 1032s ok 2 /type/interface-prerequisite 1032s ok 3 /type/interface-check 1032s ok 4 /type/next-base 1032s ok 5 /type/is-a 1032s # Invalid types can?t be queried. 1032s # Unclassed types can?t be queried. 1032s ok 6 /type/query 1032s # End of type tests 1032s ok - glib/type.test 1032s # Running test: glib/vfs.test 1032s TAP version 13 1032s # random seed: R02Sed0921f60d6ac2c4646e11f42df4cbb1 1032s 1..3 1032s # Start of gvfs tests 1032s ok 1 /gvfs/local 1032s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1032s ok 2 /gvfs/register-scheme 1032s # Start of resource tests 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1032s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1032s ok 3 /gvfs/resource/malformed-escaping 1032s # End of resource tests 1032s # End of gvfs tests 1032s ok - glib/vfs.test 1032s # Running test: glib/markup-parse.test 1032s TAP version 13 1032s # random seed: R02S94a5a9d49eecf880d071fdec05cb45df 1032s 1..71 1032s # Start of markup tests 1032s # Start of parse tests 1032s ok 1 /markup/parse/fail-29.gmarkup 1032s ok 2 /markup/parse/fail-33.gmarkup 1032s ok 3 /markup/parse/fail-23.gmarkup 1032s ok 4 /markup/parse/valid-11.gmarkup 1032s ok 5 /markup/parse/valid-14.gmarkup 1032s ok 6 /markup/parse/valid-17.gmarkup 1032s ok 7 /markup/parse/valid-7.gmarkup 1032s ok 8 /markup/parse/fail-10.gmarkup 1032s ok 9 /markup/parse/fail-53.gmarkup 1032s ok 10 /markup/parse/fail-6.gmarkup 1032s ok 11 /markup/parse/fail-8.gmarkup 1032s ok 12 /markup/parse/fail-31.gmarkup 1032s ok 13 /markup/parse/fail-16.gmarkup 1032s ok 14 /markup/parse/valid-1.gmarkup 1032s ok 15 /markup/parse/fail-44.gmarkup 1032s ok 16 /markup/parse/fail-17.gmarkup 1032s ok 17 /markup/parse/fail-13.gmarkup 1032s ok 18 /markup/parse/valid-12.gmarkup 1032s ok 19 /markup/parse/fail-4.gmarkup 1032s ok 20 /markup/parse/valid-3.gmarkup 1032s ok 21 /markup/parse/valid-13.gmarkup 1032s ok 22 /markup/parse/fail-35.gmarkup 1032s ok 23 /markup/parse/fail-36.gmarkup 1032s ok 24 /markup/parse/fail-38.gmarkup 1032s ok 25 /markup/parse/fail-24.gmarkup 1032s ok 26 /markup/parse/fail-49.gmarkup 1032s ok 27 /markup/parse/fail-18.gmarkup 1032s ok 28 /markup/parse/fail-3.gmarkup 1032s ok 29 /markup/parse/valid-6.gmarkup 1032s ok 30 /markup/parse/fail-26.gmarkup 1032s ok 31 /markup/parse/fail-41.gmarkup 1032s ok 32 /markup/parse/fail-37.gmarkup 1032s ok 33 /markup/parse/fail-5.gmarkup 1032s ok 34 /markup/parse/fail-28.gmarkup 1032s ok 35 /markup/parse/fail-34.gmarkup 1032s ok 36 /markup/parse/fail-19.gmarkup 1032s ok 37 /markup/parse/fail-50.gmarkup 1032s ok 38 /markup/parse/fail-51.gmarkup 1032s ok 39 /markup/parse/valid-9.gmarkup 1032s ok 40 /markup/parse/fail-25.gmarkup 1032s ok 41 /markup/parse/fail-21.gmarkup 1032s ok 42 /markup/parse/fail-43.gmarkup 1032s ok 43 /markup/parse/fail-46.gmarkup 1032s ok 44 /markup/parse/fail-20.gmarkup 1032s ok 45 /markup/parse/fail-22.gmarkup 1032s ok 46 /markup/parse/valid-8.gmarkup 1032s ok 47 /markup/parse/fail-2.gmarkup 1032s ok 48 /markup/parse/fail-39.gmarkup 1032s ok 49 /markup/parse/fail-14.gmarkup 1032s ok 50 /markup/parse/fail-7.gmarkup 1032s ok 51 /markup/parse/valid-15.gmarkup 1032s ok 52 /markup/parse/fail-47.gmarkup 1032s ok 53 /markup/parse/fail-52.gmarkup 1032s ok 54 /markup/parse/valid-5.gmarkup 1032s ok 55 /markup/parse/fail-40.gmarkup 1032s ok 56 /markup/parse/fail-9.gmarkup 1032s ok 57 /markup/parse/fail-42.gmarkup 1032s ok 58 /markup/parse/fail-45.gmarkup 1032s ok 59 /markup/parse/fail-27.gmarkup 1032s ok 60 /markup/parse/valid-16.gmarkup 1032s ok 61 /markup/parse/valid-2.gmarkup 1032s ok 62 /markup/parse/fail-11.gmarkup 1032s ok 63 /markup/parse/fail-12.gmarkup 1032s ok 64 /markup/parse/fail-1.gmarkup 1032s ok 65 /markup/parse/fail-48.gmarkup 1032s ok 66 /markup/parse/valid-10.gmarkup 1032s ok 67 /markup/parse/fail-15.gmarkup 1032s ok 68 /markup/parse/fail-32.gmarkup 1032s ok 69 /markup/parse/fail-30.gmarkup 1032s ok 70 /markup/parse/valid-4.gmarkup 1032s ok 71 /markup/parse/fail-54.gmarkup 1032s # End of parse tests 1032s # End of markup tests 1032s ok - glib/markup-parse.test 1032s # Running test: glib/network-monitor-race.test 1032s TAP version 13 1032s # random seed: R02Sf3980f3d6d180fc656a39186d61d7f84 1032s 1..1 1032s # Start of network-monitor tests 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1034s ok 1 /network-monitor/create-in-thread 1034s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1034s # End of network-monitor tests 1034s ok - glib/network-monitor-race.test 1034s # Running test: glib/gdbus-error.test 1034s TAP version 13 1034s # random seed: R02Sf46f4cccd7e685067a754e61413129c9 1034s 1..4 1034s # Start of gdbus tests 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_S6JCK2/gdbus/registered-errors/.dirs/runtime 1034s ok 1 /gdbus/registered-errors 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_S6JCK2/gdbus/unregistered-errors/.dirs/runtime 1034s ok 2 /gdbus/unregistered-errors 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_S6JCK2/gdbus/transparent-gerror/.dirs/runtime 1034s ok 3 /gdbus/transparent-gerror 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_S6JCK2/gdbus/register-error/.dirs/runtime 1034s ok 4 /gdbus/register-error 1034s # End of gdbus tests 1034s ok - glib/gdbus-error.test 1034s # Running test: glib/buffered-input-stream.test 1034s TAP version 13 1034s # random seed: R02S9e7ccda4e8f8c248ae39a213201c73ce 1034s 1..10 1034s # Start of buffered-input-stream tests 1034s ok 1 /buffered-input-stream/peek 1034s ok 2 /buffered-input-stream/peek-buffer 1034s ok 3 /buffered-input-stream/set-buffer-size 1034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1034s ok 4 /buffered-input-stream/read-byte 1034s ok 5 /buffered-input-stream/read 1034s ok 6 /buffered-input-stream/read-async 1034s ok 7 /buffered-input-stream/skip 1034s ok 8 /buffered-input-stream/skip-async 1034s ok 9 /buffered-input-stream/seek 1034s # End of buffered-input-stream tests 1034s # Start of filter-input-stream tests 1034s ok 10 /filter-input-stream/close 1034s # End of filter-input-stream tests 1034s ok - glib/buffered-input-stream.test 1034s # Running test: glib/autoptr.test 1034s TAP version 13 1034s # random seed: R02S8a0f14cb39b72b047e5a655039b91255 1034s 1..6 1034s # Start of autoptr tests 1034s ok 1 /autoptr/autoptr 1034s ok 2 /autoptr/autoptr_steal 1034s ok 3 /autoptr/autolist 1034s ok 4 /autoptr/autoslist 1034s ok 5 /autoptr/autoqueue 1034s ok 6 /autoptr/autoclass 1034s # End of autoptr tests 1034s ok - glib/autoptr.test 1034s # Running test: glib/power-profile-monitor-portal.test 1034s TAP version 13 1034s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1035s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1035s 1..2 1035s ok - glib/power-profile-monitor-portal.test 1035s # Running test: glib/list.test 1035s TAP version 13 1035s # random seed: R02S2d52f35a0550ef0898d17bdb6c0be81f 1035s 1..20 1035s # Start of list tests 1035s ok 1 /list/sort 1035s ok 2 /list/sort-with-data 1035s ok 3 /list/insert-before-link 1035s ok 4 /list/insert-sorted 1035s ok 5 /list/insert-sorted-with-data 1035s ok 6 /list/reverse 1035s ok 7 /list/nth 1035s ok 8 /list/concat 1035s ok 9 /list/remove 1035s ok 10 /list/remove-all 1035s ok 11 /list/first-last 1035s ok 12 /list/insert 1035s ok 13 /list/free-full 1035s ok 14 /list/copy 1035s ok 15 /list/copy-deep 1035s ok 16 /list/delete-link 1035s ok 17 /list/prepend 1035s ok 18 /list/position 1035s ok 19 /list/double-free 1035s # Start of sort tests 1035s ok 20 /list/sort/stable 1035s # End of sort tests 1035s # End of list tests 1035s ok - glib/list.test 1035s # Running test: glib/option-argv0.test 1035s TAP version 13 1035s # random seed: R02S0a36edfa2ecdbbec218efd974ccb3649 1035s 1..1 1035s # Start of option tests 1035s ok 1 /option/argv0 1035s # End of option tests 1035s ok - glib/option-argv0.test 1035s # Running test: glib/filter-streams.test 1035s TAP version 13 1035s # random seed: R02S6b6c3310f479289183904d4799b13b1f 1035s 1..4 1035s # Start of filter-stream tests 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1035s ok 1 /filter-stream/input 1035s ok 2 /filter-stream/output 1035s ok 3 /filter-stream/async-input 1035s ok 4 /filter-stream/async-output 1035s # End of filter-stream tests 1035s ok - glib/filter-streams.test 1035s # Running test: glib/atomic-c-17.test 1035s TAP version 13 1035s # random seed: R02Se9588b86cca9ebfdf36b384941b2243d 1035s 1..2 1035s # Start of atomic tests 1035s ok 1 /atomic/types 1035s ok 2 /atomic/threaded 1035s # End of atomic tests 1035s ok - glib/atomic-c-17.test 1035s # Running test: glib/throws.test 1035s TAP version 13 1035s # random seed: R02Sdd8bf81f15fd8401f08dea027953aee2 1035s 1..3 1035s # Start of throws tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RXUFK2/throws/invoke-gerror/.dirs/runtime 1035s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1035s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1035s ok 1 /throws/invoke-gerror 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RXUFK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1035s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1035s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1035s ok 2 /throws/vfunc-can-throw-gerror 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RXUFK2/throws/callback-can-throw-gerror/.dirs/runtime 1035s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1035s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1035s ok 3 /throws/callback-can-throw-gerror 1035s # End of throws tests 1035s ok - glib/throws.test 1035s # Running test: glib/genmarshal.py.test 1035s TAP version 13 1035s ok 1 __main__.TestGenmarshal.test_empty_list 1035s # tmpdir: /tmp/tmp72agzn10 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # /tmp/tmp72agzn10/tmpalawialo.list: 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp72agzn10/tmpalawialo.list', '--header', '--quiet'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # 1035s # #include 1035s # 1035s # G_BEGIN_DECLS 1035s # 1035s # 1035s # G_END_DECLS 1035s # 1035s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp72agzn10/tmpalawialo.list', '--body', '--quiet'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #include 1035s # 1035s # #ifdef G_ENABLE_DEBUG 1035s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1035s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1035s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1035s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1035s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1035s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1035s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1035s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1035s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1035s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1035s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1035s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1035s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1035s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1035s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1035s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1035s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1035s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1035s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1035s # #else /* !G_ENABLE_DEBUG */ 1035s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1035s # * Do not access GValues directly in your code. Instead, use the 1035s # * g_value_get_*() functions 1035s # */ 1035s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1035s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1035s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1035s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1035s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1035s # #endif /* !G_ENABLE_DEBUG */ 1035s ok 2 __main__.TestGenmarshal.test_help 1035s # tmpdir: /tmp/tmpai4gbars 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1035s # [--internal] [--valist-marshallers] [-v] 1035s # [--g-fatal-warnings] [--include-header [HEADER]] 1035s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1035s # [--prototypes] [--header] [--body] 1035s # [--stdinc | --nostdinc] [--quiet | --verbose] 1035s # [FILE ...] 1035s # 1035s # Generate signal marshallers for GObject 1035s # 1035s # positional arguments: 1035s # FILE Files with lists of marshallers to generate, or "-" 1035s # for standard input 1035s # 1035s # options: 1035s # -h, --help show this help message and exit 1035s # --prefix STRING Specify marshaller prefix 1035s # --output FILE Write output into the specified file 1035s # --skip-source Skip source location comments 1035s # --internal Mark generated functions as internal 1035s # --valist-marshallers Generate va_list marshallers 1035s # -v, --version Print version information, and exit 1035s # --g-fatal-warnings Make warnings fatal 1035s # --include-header [HEADER] 1035s # Include the specified header in the body 1035s # --pragma-once Use "pragma once" as the inclusion guard 1035s # -D CPP_DEFINES Pre-processor define 1035s # -U CPP_UNDEFINES Pre-processor undefine 1035s # --prototypes Generate the marshallers prototype in the C code 1035s # --header Generate C headers 1035s # --body Generate C code 1035s # --stdinc Include standard marshallers 1035s # --nostdinc Use standard marshallers 1035s # --quiet Only print warnings and errors 1035s # --verbose Be verbose, and include debugging information 1035s ok 3 __main__.TestGenmarshal.test_no_args 1035s # tmpdir: /tmp/tmpyt2l5ibv 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # Running: ['/usr/bin/glib-genmarshal'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # Output: 1035s ok 4 __main__.TestGenmarshal.test_void_boolean 1035s # tmpdir: /tmp/tmp19r9q7iq 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # /tmp/tmp19r9q7iq/tmpy4q1m0ta.list: VOID:BOOLEAN 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp19r9q7iq/tmpy4q1m0ta.list', '--header', '--quiet'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # 1035s # #include 1035s # 1035s # G_BEGIN_DECLS 1035s # 1035s # /* VOID:BOOLEAN (/tmp/tmp19r9q7iq/tmpy4q1m0ta.list:1) */ 1035s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1035s # 1035s # 1035s # G_END_DECLS 1035s # 1035s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp19r9q7iq/tmpy4q1m0ta.list', '--body', '--quiet'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #include 1035s # 1035s # #ifdef G_ENABLE_DEBUG 1035s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1035s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1035s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1035s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1035s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1035s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1035s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1035s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1035s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1035s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1035s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1035s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1035s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1035s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1035s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1035s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1035s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1035s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1035s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1035s # #else /* !G_ENABLE_DEBUG */ 1035s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1035s # * Do not access GValues directly in your code. Instead, use the 1035s # * g_value_get_*() functions 1035s # */ 1035s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1035s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1035s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1035s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1035s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1035s # #endif /* !G_ENABLE_DEBUG */ 1035s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1035s # tmpdir: /tmp/tmpg6v13yy0 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # /tmp/tmpg6v13yy0/tmp4cqp0pf2.list: VOID:BOOLEAN,INT64 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpg6v13yy0/tmp4cqp0pf2.list', '--header', '--quiet'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # 1035s # #include 1035s # 1035s # G_BEGIN_DECLS 1035s # 1035s # /* VOID:BOOLEAN,INT64 (/tmp/tmpg6v13yy0/tmp4cqp0pf2.list:1) */ 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1035s # GValue *return_value, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint, 1035s # gpointer marshal_data); 1035s # 1035s # 1035s # G_END_DECLS 1035s # 1035s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpg6v13yy0/tmp4cqp0pf2.list', '--body', '--quiet'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #include 1035s # 1035s # #ifdef G_ENABLE_DEBUG 1035s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1035s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1035s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1035s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1035s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1035s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1035s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1035s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1035s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1035s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1035s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1035s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1035s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1035s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1035s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1035s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1035s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1035s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1035s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1035s # #else /* !G_ENABLE_DEBUG */ 1035s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1035s # * Do not access GValues directly in your code. Instead, use the 1035s # * g_value_get_*() functions 1035s # */ 1035s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1035s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1035s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1035s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1035s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1035s # #endif /* !G_ENABLE_DEBUG */ 1035s # 1035s # /* VOID:BOOLEAN,INT64 (/tmp/tmpg6v13yy0/tmp4cqp0pf2.list:1) */ 1035s # void 1035s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint G_GNUC_UNUSED, 1035s # gpointer marshal_data) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1035s # gboolean arg1, 1035s # gint64 arg2, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1035s # 1035s # g_return_if_fail (n_param_values == 3); 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = g_value_peek_pointer (param_values + 0); 1035s # } 1035s # else 1035s # { 1035s # data1 = g_value_peek_pointer (param_values + 0); 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # g_marshal_value_peek_boolean (param_values + 1), 1035s # g_marshal_value_peek_int64 (param_values + 2), 1035s # data2); 1035s # } 1035s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1035s # tmpdir: /tmp/tmp1vdwaynm 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # /tmp/tmp1vdwaynm/tmpxq0q2k47.list: VOID:PARAM 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1vdwaynm/tmpxq0q2k47.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # 1035s # G_BEGIN_DECLS 1035s # 1035s # /* VOID:PARAM (/tmp/tmp1vdwaynm/tmpxq0q2k47.list:1) */ 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1035s # GValue *return_value, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint, 1035s # gpointer marshal_data); 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1035s # GValue *return_value, 1035s # gpointer instance, 1035s # va_list args, 1035s # gpointer marshal_data, 1035s # int n_params, 1035s # GType *param_types); 1035s # 1035s # 1035s # G_END_DECLS 1035s # 1035s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1vdwaynm/tmpxq0q2k47.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifdef G_ENABLE_DEBUG 1035s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1035s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1035s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1035s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1035s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1035s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1035s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1035s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1035s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1035s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1035s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1035s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1035s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1035s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1035s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1035s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1035s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1035s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1035s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1035s # #else /* !G_ENABLE_DEBUG */ 1035s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1035s # * Do not access GValues directly in your code. Instead, use the 1035s # * g_value_get_*() functions 1035s # */ 1035s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1035s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1035s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1035s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1035s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1035s # #endif /* !G_ENABLE_DEBUG */ 1035s # 1035s # /* VOID:PARAM (/tmp/tmp1vdwaynm/tmpxq0q2k47.list:1) */ 1035s # void 1035s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint G_GNUC_UNUSED, 1035s # gpointer marshal_data) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1035s # gpointer arg1, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__PARAM callback; 1035s # 1035s # g_return_if_fail (n_param_values == 2); 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = g_value_peek_pointer (param_values + 0); 1035s # } 1035s # else 1035s # { 1035s # data1 = g_value_peek_pointer (param_values + 0); 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # g_marshal_value_peek_param (param_values + 1), 1035s # data2); 1035s # } 1035s # 1035s # void 1035s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # gpointer instance, 1035s # va_list args, 1035s # gpointer marshal_data, 1035s # int n_params, 1035s # GType *param_types) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1035s # gpointer arg1, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__PARAM callback; 1035s # gpointer arg0; 1035s # va_list args_copy; 1035s # 1035s # va_copy (args_copy, args); 1035s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1035s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1035s # arg0 = g_param_spec_ref (arg0); 1035s # va_end (args_copy); 1035s # 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = instance; 1035s # } 1035s # else 1035s # { 1035s # data1 = instance; 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # arg0, 1035s # data2); 1035s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1035s # g_param_spec_unref (arg0); 1035s # } 1035s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1035s # tmpdir: /tmp/tmpl926nki8 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # /tmp/tmpl926nki8/tmp1c9hr1vp.list: VOID:STRING 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl926nki8/tmp1c9hr1vp.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # 1035s # G_BEGIN_DECLS 1035s # 1035s # /* VOID:STRING (/tmp/tmpl926nki8/tmp1c9hr1vp.list:1) */ 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1035s # GValue *return_value, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint, 1035s # gpointer marshal_data); 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1035s # GValue *return_value, 1035s # gpointer instance, 1035s # va_list args, 1035s # gpointer marshal_data, 1035s # int n_params, 1035s # GType *param_types); 1035s # 1035s # 1035s # G_END_DECLS 1035s # 1035s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl926nki8/tmp1c9hr1vp.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifdef G_ENABLE_DEBUG 1035s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1035s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1035s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1035s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1035s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1035s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1035s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1035s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1035s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1035s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1035s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1035s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1035s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1035s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1035s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1035s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1035s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1035s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1035s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1035s # #else /* !G_ENABLE_DEBUG */ 1035s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1035s # * Do not access GValues directly in your code. Instead, use the 1035s # * g_value_get_*() functions 1035s # */ 1035s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1035s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1035s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1035s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1035s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1035s # #endif /* !G_ENABLE_DEBUG */ 1035s # 1035s # /* VOID:STRING (/tmp/tmpl926nki8/tmp1c9hr1vp.list:1) */ 1035s # void 1035s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint G_GNUC_UNUSED, 1035s # gpointer marshal_data) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1035s # gpointer arg1, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__STRING callback; 1035s # 1035s # g_return_if_fail (n_param_values == 2); 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = g_value_peek_pointer (param_values + 0); 1035s # } 1035s # else 1035s # { 1035s # data1 = g_value_peek_pointer (param_values + 0); 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # g_marshal_value_peek_string (param_values + 1), 1035s # data2); 1035s # } 1035s # 1035s # void 1035s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # gpointer instance, 1035s # va_list args, 1035s # gpointer marshal_data, 1035s # int n_params, 1035s # GType *param_types) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1035s # gpointer arg1, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__STRING callback; 1035s # gpointer arg0; 1035s # va_list args_copy; 1035s # 1035s # va_copy (args_copy, args); 1035s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1035s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1035s # arg0 = g_strdup (arg0); 1035s # va_end (args_copy); 1035s # 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = instance; 1035s # } 1035s # else 1035s # { 1035s # data1 = instance; 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # arg0, 1035s # data2); 1035s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1035s # g_free (arg0); 1035s # } 1035s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1035s # tmpdir: /tmp/tmp33rn41f1 1035s # genmarshal: /usr/bin/glib-genmarshal 1035s # /tmp/tmp33rn41f1/tmph2y0am_h.list: VOID:VARIANT 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp33rn41f1/tmph2y0am_h.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1035s # 1035s # G_BEGIN_DECLS 1035s # 1035s # /* VOID:VARIANT (/tmp/tmp33rn41f1/tmph2y0am_h.list:1) */ 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1035s # GValue *return_value, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint, 1035s # gpointer marshal_data); 1035s # extern 1035s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1035s # GValue *return_value, 1035s # gpointer instance, 1035s # va_list args, 1035s # gpointer marshal_data, 1035s # int n_params, 1035s # GType *param_types); 1035s # 1035s # 1035s # G_END_DECLS 1035s # 1035s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1035s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp33rn41f1/tmph2y0am_h.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1035s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # 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. */ 1035s # #ifdef G_ENABLE_DEBUG 1035s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1035s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1035s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1035s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1035s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1035s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1035s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1035s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1035s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1035s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1035s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1035s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1035s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1035s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1035s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1035s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1035s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1035s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1035s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1035s # #else /* !G_ENABLE_DEBUG */ 1035s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1035s # * Do not access GValues directly in your code. Instead, use the 1035s # * g_value_get_*() functions 1035s # */ 1035s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1035s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1035s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1035s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1035s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1035s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1035s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1035s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1035s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1035s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1035s # #endif /* !G_ENABLE_DEBUG */ 1035s # 1035s # /* VOID:VARIANT (/tmp/tmp33rn41f1/tmph2y0am_h.list:1) */ 1035s # void 1035s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # guint n_param_values, 1035s # const GValue *param_values, 1035s # gpointer invocation_hint G_GNUC_UNUSED, 1035s # gpointer marshal_data) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1035s # gpointer arg1, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__VARIANT callback; 1035s # 1035s # g_return_if_fail (n_param_values == 2); 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = g_value_peek_pointer (param_values + 0); 1035s # } 1035s # else 1035s # { 1035s # data1 = g_value_peek_pointer (param_values + 0); 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # g_marshal_value_peek_variant (param_values + 1), 1035s # data2); 1035s # } 1035s # 1035s # void 1035s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1035s # GValue *return_value G_GNUC_UNUSED, 1035s # gpointer instance, 1035s # va_list args, 1035s # gpointer marshal_data, 1035s # int n_params, 1035s # GType *param_types) 1035s # { 1035s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1035s # gpointer arg1, 1035s # gpointer data2); 1035s # GCClosure *cc = (GCClosure *) closure; 1035s # gpointer data1, data2; 1035s # GMarshalFunc_VOID__VARIANT callback; 1035s # gpointer arg0; 1035s # va_list args_copy; 1035s # 1035s # va_copy (args_copy, args); 1035s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1035s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1035s # arg0 = g_variant_ref_sink (arg0); 1035s # va_end (args_copy); 1035s # 1035s # 1035s # if (G_CCLOSURE_SWAP_DATA (closure)) 1035s # { 1035s # data1 = closure->data; 1035s # data2 = instance; 1035s # } 1035s # else 1035s # { 1035s # data1 = instance; 1035s # data2 = closure->data; 1035s # } 1035s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1035s # 1035s # callback (data1, 1035s # arg0, 1035s # data2); 1035s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1035s # g_variant_unref (arg0); 1035s # } 1035s 1..8 1035s ok - glib/genmarshal.py.test 1035s # Running test: glib/srvtarget.test 1035s TAP version 13 1035s # random seed: R02Sf09a3ac4ed068143747eb31200c5a53f 1035s 1..1 1035s # Start of srvtarget tests 1036s # Executing: glib/srvtarget.test 1036s ok 1 /srvtarget/srv-target-ordering 1036s # End of srvtarget tests 1036s ok - glib/srvtarget.test 1036s # Running test: glib/spawn-multithreaded.test 1036s TAP version 13 1036s # random seed: R02S1d9b24b9c778fc336106f0b23612d100 1036s 1..4 1036s # Start of gthread tests 1037s # Child 12156 (ttl 1) exited, status 0 1038s # Child 12157 (ttl 2) exited, status 0 1038s ok 1 /gthread/spawn-childs 1038s # slow test /gthread/spawn-childs executed in 2.00 secs 1038s # Created pid: 12161 (ttl 2) 1038s # Created pid: 12162 (ttl 1) 1039s # Child 12162 (ttl 1) exited, status 0 1040s # Child 12161 (ttl 2) exited, status 0 1040s ok 2 /gthread/spawn-childs-threads 1040s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1040s ok 3 /gthread/spawn-sync 1040s ok 4 /gthread/spawn-async 1040s # End of gthread tests 1040s ok - glib/spawn-multithreaded.test 1040s # Running test: glib/string.test 1040s TAP version 13 1040s # random seed: R02S0e02e8b0ad70a84fc0a418897110c6c4 1040s 1..23 1040s # Start of string tests 1040s ok 1 /string/test-string-chunks 1040s ok 2 /string/test-string-chunk-insert 1040s ok 3 /string/test-string-new 1040s ok 4 /string/test-string-printf 1040s ok 5 /string/test-string-assign 1040s ok 6 /string/test-string-append-c 1040s ok 7 /string/test-string-append 1040s ok 8 /string/test-string-append-vprintf 1040s ok 9 /string/test-string-prepend-c 1040s ok 10 /string/test-string-prepend 1040s ok 11 /string/test-string-insert 1040s ok 12 /string/test-string-insert-unichar 1040s ok 13 /string/test-string-equal 1040s ok 14 /string/test-string-truncate 1040s ok 15 /string/test-string-overwrite 1040s ok 16 /string/test-string-nul-handling 1040s ok 17 /string/test-string-up-down 1040s ok 18 /string/test-string-set-size 1040s ok 19 /string/test-string-to-bytes 1040s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1040s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1040s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1040s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1040s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1040s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1040s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1040s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1040s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1040s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1040s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1040s # -> 4 replacements, "fd fr fals" 1040s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1040s # -> 3 replacements, "aaaaaaaaa" 1040s # 7: Replacing "a" with "" (limit 0) in "aaa" 1040s # -> 3 replacements, "" 1040s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1040s # -> 1 replacements, "bba" 1040s # 9: Replacing "" with "bar" (limit 0) in "foo" 1040s # -> 4 replacements, "barfbarobarobar" 1040s # 10: Replacing "" with "x" (limit 0) in "" 1040s # -> 1 replacements, "x" 1040s # 11: Replacing "" with "" (limit 0) in "" 1040s # -> 1 replacements, "" 1040s ok 20 /string/test-string-replace 1040s ok 21 /string/test-string-steal 1040s ok 22 /string/test-string-new-take 1040s # Start of test-string-new-take tests 1040s ok 23 /string/test-string-new-take/null 1040s # End of test-string-new-take tests 1040s # End of string tests 1040s ok - glib/string.test 1040s # Running test: glib/dir.test 1040s TAP version 13 1040s # random seed: R02Sf5a53fc1667588155170cbd85dda1dcf 1040s 1..3 1040s # Start of dir tests 1040s ok 1 /dir/read 1040s ok 2 /dir/nonexisting 1040s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1040s ok 3 /dir/refcounting 1040s # End of dir tests 1040s ok - glib/dir.test 1040s # Running test: glib/portal-support-snap-classic.test 1040s TAP version 13 1040s # random seed: R02S68f676fbcc5b6e8f7daea6cb795e87d3 1040s 1..3 1040s # Start of portal-support tests 1040s # Start of snap-classic tests 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1040s ok 1 /portal-support/snap-classic/no-snapctl 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/runtime 1040s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BKKEK2/meta/snap.yaml 1040s # Created snapctl in /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1040s ok 2 /portal-support/snap-classic/none 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/runtime 1040s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BKKEK2/meta/snap.yaml 1040s # Created snapctl in /tmp/test_portal-support-snap-classic_BKKEK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1040s ok 3 /portal-support/snap-classic/all 1040s # End of snap-classic tests 1040s # End of portal-support tests 1040s ok - glib/portal-support-snap-classic.test 1040s # Running test: glib/sandbox.test 1040s TAP version 13 1040s # random seed: R02S8e9843a79790c8910af2afcced0df55f 1040s 1..4 1040s # Start of sandbox tests 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_H7UEK2/sandbox/none/.dirs/runtime 1040s ok 1 /sandbox/none 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_H7UEK2/sandbox/snap/.dirs/runtime 1040s # Created snap.yaml in /tmp/test_sandbox_H7UEK2/snap/current/meta/snap.yaml 1040s ok 2 /sandbox/snap 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_H7UEK2/sandbox/classic-snap/.dirs/runtime 1040s # Created snap.yaml in /tmp/test_sandbox_H7UEK2/snap/current/meta/snap.yaml 1040s ok 3 /sandbox/classic-snap 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/runtime 1040s # Creating .flatpak-info in /tmp/test_sandbox_H7UEK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1040s ok 4 /sandbox/flatpak 1040s # End of sandbox tests 1040s ok - glib/sandbox.test 1040s # Running test: glib/macros-c-11.test 1040s TAP version 13 1040s # random seed: R02S8ab23c45cf96b463f2e2a0298c3747be 1040s 1..4 1040s # Start of C tests 1040s ok 1 /C/standard-11 1040s # End of C tests 1040s # Start of alignof tests 1040s ok 2 /alignof/fallback 1040s # End of alignof tests 1040s # Start of assert tests 1040s ok 3 /assert/static 1040s # End of assert tests 1040s # Start of struct tests 1040s ok 4 /struct/sizeof_member 1040s # End of struct tests 1040s ok - glib/macros-c-11.test 1040s # Running test: glib/memory-output-stream.test 1040s TAP version 13 1040s # random seed: R02Sa32fc622bef60c1fcc64ef49518abc03 1040s 1..10 1040s # Start of memory-output-stream tests 1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1040s ok 1 /memory-output-stream/truncate 1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1040s ok 2 /memory-output-stream/get-data-size 1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1040s ok 3 /memory-output-stream/properties 1040s ok 4 /memory-output-stream/write-bytes 1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1040s ok 5 /memory-output-stream/write-null 1040s ok 6 /memory-output-stream/writev 1040s ok 7 /memory-output-stream/writev_nonblocking 1040s ok 8 /memory-output-stream/steal_as_bytes 1040s # Start of seek tests 1040s ok 9 /memory-output-stream/seek/fixed 1040s ok 10 /memory-output-stream/seek/resizable 1040s # End of seek tests 1040s # End of memory-output-stream tests 1040s ok - glib/memory-output-stream.test 1040s # Running test: glib/gio-tool.py.test 1040s TAP version 13 1040s ok 1 __main__.TestGioTool.test_help 1040s # tmpdir: /tmp/tmp09f17evl 1040s # gio: /usr/bin/gio 1040s # Running: ['/usr/bin/gio', '--help'] 1040s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1040s # Output: Usage: 1040s # gio COMMAND [ARGS…] 1040s # 1040s # Commands: 1040s # help Print help 1040s # version Print version 1040s # cat Concatenate files to standard output 1040s # copy Copy one or more files 1040s # info Show information about locations 1040s # launch Launch an application from a desktop file 1040s # list List the contents of locations 1040s # mime Get or set the handler for a mimetype 1040s # mkdir Create directories 1040s # monitor Monitor files and directories for changes 1040s # mount Mount or unmount the locations 1040s # move Move one or more files 1040s # open Open files with the default application 1040s # rename Rename a file 1040s # remove Delete one or more files 1040s # save Read from standard input and save 1040s # set Set a file attribute 1040s # trash Move files or directories to the trash 1040s # tree Lists the contents of locations in a tree 1040s # 1040s # Use “gio help COMMAND” to get detailed help. 1040s # Running: ['/usr/bin/gio', 'help'] 1040s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1040s # Output: Usage: 1040s # gio COMMAND [ARGS…] 1040s # 1040s # Commands: 1040s # help Print help 1040s # version Print version 1040s # cat Concatenate files to standard output 1040s # copy Copy one or more files 1040s # info Show information about locations 1040s # launch Launch an application from a desktop file 1040s # list List the contents of locations 1040s # mime Get or set the handler for a mimetype 1040s # mkdir Create directories 1040s # monitor Monitor files and directories for changes 1040s # mount Mount or unmount the locations 1040s # move Move one or more files 1040s # open Open files with the default application 1040s # rename Rename a file 1040s # remove Delete one or more files 1040s # save Read from standard input and save 1040s # set Set a file attribute 1040s # trash Move files or directories to the trash 1040s # tree Lists the contents of locations in a tree 1040s # 1040s # Use “gio help COMMAND” to get detailed help. 1040s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1040s # tmpdir: /tmp/tmphi7zop8r 1040s # gio: /usr/bin/gio 1040s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmphi7zop8r/tmpsj62gozj'] 1040s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1040s # Output: uri: file:///tmp/tmphi7zop8r/tmpsj62gozj 1040s # local path: /tmp/tmphi7zop8r/tmpsj62gozj 1040s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1040s # attributes: 1040s # standard::content-type: application/x-zerosize 1040s ok 3 __main__.TestGioTool.test_no_args 1040s # tmpdir: /tmp/tmpntrhvszx 1040s # gio: /usr/bin/gio 1040s # Running: ['/usr/bin/gio'] 1040s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1040s 1..3 1040s ok - glib/gio-tool.py.test 1040s # Running test: glib/socket-address.test 1040s TAP version 13 1040s # random seed: R02Scfede659ff9db3cc8107e611b9053745 1040s 1..2 1040s # Start of socket tests 1040s # Start of address tests 1040s # Start of unix tests 1040s ok 1 /socket/address/unix/construct 1040s ok 2 /socket/address/unix/to-string 1040s # End of unix tests 1040s # End of address tests 1040s # End of socket tests 1040s ok - glib/socket-address.test 1040s # Running test: glib/memory-monitor-portal.test 1040s TAP version 13 1040s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1040s 1..1 1040s ok - glib/memory-monitor-portal.test 1040s # Running test: glib/hook.test 1040s TAP version 13 1040s # random seed: R02Seac5ce0b0a68d72cba3900505609ef4c 1040s 1..2 1040s # Start of hook tests 1040s ok 1 /hook/basics 1040s ok 2 /hook/corner-cases 1040s # End of hook tests 1040s ok - glib/hook.test 1040s # Running test: glib/unix-fd.test 1040s TAP version 13 1040s # random seed: R02S43417293b751dc7d7c36a4ee4902be70 1040s 1..2 1040s # Start of unix-fd tests 1040s ok 1 /unix-fd/fd-list 1040s ok 2 /unix-fd/scm 1040s # End of unix-fd tests 1040s ok - glib/unix-fd.test 1040s # Running test: glib/gdbus-exit-on-close.test 1040s TAP version 13 1040s # random seed: R02S87a640de97a6725ce195a30787d88d22 1040s 1..4 1040s # Start of gdbus tests 1040s # Start of exit-on-close tests 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/default/.dirs/runtime 1040s ok 1 /gdbus/exit-on-close/default 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/true/.dirs/runtime 1040s ok 2 /gdbus/exit-on-close/true 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/false/.dirs/runtime 1041s # Executing: glib/gdbus-exit-on-close.test 1041s ok 3 /gdbus/exit-on-close/false 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_93T1J2/gdbus/exit-on-close/we-close/.dirs/runtime 1041s ok 4 /gdbus/exit-on-close/we-close 1041s # Start of default tests 1041s # End of default tests 1041s # Start of true tests 1041s # End of true tests 1041s # Start of false tests 1041s # End of false tests 1041s # Start of we-close tests 1041s # End of we-close tests 1041s # End of exit-on-close tests 1041s # End of gdbus tests 1041s ok - glib/gdbus-exit-on-close.test 1041s # Running test: glib/regex.test 1041s TAP version 13 1041s # random seed: R02Se5e9bda38e1e82b8161fba904e063666 1041s 1..848 1041s # Start of regex tests 1041s ok 1 /regex/properties 1041s ok 2 /regex/class 1041s ok 3 /regex/lookahead 1041s ok 4 /regex/lookbehind 1041s ok 5 /regex/subpattern 1041s ok 6 /regex/condition 1041s ok 7 /regex/recursion 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1041s ok 8 /regex/multiline 1041s ok 9 /regex/explicit-crlf 1041s ok 10 /regex/max-lookbehind 1041s ok 11 /regex/compile-errors 1041s ok 12 /regex/jit-unsupported-matching 1041s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1041s ok 13 /regex/unmatched-named-subpattern 1041s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1041s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1041s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1041s ok 14 /regex/compiled-regex-after-jit-failure 1041s # Start of new tests 1041s ok 15 /regex/new/1 1041s ok 16 /regex/new/2 1041s ok 17 /regex/new/3 1041s ok 18 /regex/new/4 1041s ok 19 /regex/new/5 1041s ok 20 /regex/new/6 1041s ok 21 /regex/new/7 1041s ok 22 /regex/new/8 1041s ok 23 /regex/new/9 1041s ok 24 /regex/new/10 1041s ok 25 /regex/new/11 1041s ok 26 /regex/new/12 1041s ok 27 /regex/new/13 1041s ok 28 /regex/new/14 1041s ok 29 /regex/new/15 1041s ok 30 /regex/new/16 1041s ok 31 /regex/new/17 1041s ok 32 /regex/new/18 1041s ok 33 /regex/new/19 1041s ok 34 /regex/new/71 1041s ok 35 /regex/new/80 1041s ok 36 /regex/new/82 1041s # End of new tests 1041s # Start of new-check-flags tests 1041s ok 37 /regex/new-check-flags/20 1041s ok 38 /regex/new-check-flags/21 1041s ok 39 /regex/new-check-flags/22 1041s ok 40 /regex/new-check-flags/23 1041s ok 41 /regex/new-check-flags/24 1041s ok 42 /regex/new-check-flags/25 1041s ok 43 /regex/new-check-flags/26 1041s ok 44 /regex/new-check-flags/27 1041s ok 45 /regex/new-check-flags/28 1041s ok 46 /regex/new-check-flags/29 1041s ok 47 /regex/new-check-flags/30 1041s ok 48 /regex/new-check-flags/31 1041s ok 49 /regex/new-check-flags/32 1041s ok 50 /regex/new-check-flags/33 1041s ok 51 /regex/new-check-flags/34 1041s ok 52 /regex/new-check-flags/35 1041s ok 53 /regex/new-check-flags/36 1041s # End of new-check-flags tests 1041s # Start of new-fail tests 1041s ok 54 /regex/new-fail/37 1041s ok 55 /regex/new-fail/38 1041s ok 56 /regex/new-fail/39 1041s ok 57 /regex/new-fail/40 1041s ok 58 /regex/new-fail/41 1041s ok 59 /regex/new-fail/42 1041s ok 60 /regex/new-fail/43 1041s ok 61 /regex/new-fail/44 1041s ok 62 /regex/new-fail/45 1041s ok 63 /regex/new-fail/46 1041s ok 64 /regex/new-fail/47 1041s ok 65 /regex/new-fail/48 1041s ok 66 /regex/new-fail/49 1041s ok 67 /regex/new-fail/50 1041s ok 68 /regex/new-fail/51 1041s ok 69 /regex/new-fail/52 1041s ok 70 /regex/new-fail/53 1041s ok 71 /regex/new-fail/54 1041s ok 72 /regex/new-fail/55 1041s ok 73 /regex/new-fail/56 1041s ok 74 /regex/new-fail/57 1041s ok 75 /regex/new-fail/58 1041s ok 76 /regex/new-fail/59 1041s ok 77 /regex/new-fail/60 1041s ok 78 /regex/new-fail/61 1041s ok 79 /regex/new-fail/62 1041s ok 80 /regex/new-fail/63 1041s ok 81 /regex/new-fail/64 1041s ok 82 /regex/new-fail/65 1041s ok 83 /regex/new-fail/66 1041s ok 84 /regex/new-fail/67 1041s ok 85 /regex/new-fail/68 1041s ok 86 /regex/new-fail/69 1041s ok 87 /regex/new-fail/70 1041s ok 88 /regex/new-fail/72 1041s ok 89 /regex/new-fail/73 1041s ok 90 /regex/new-fail/74 1041s ok 91 /regex/new-fail/75 1041s ok 92 /regex/new-fail/76 1041s ok 93 /regex/new-fail/77 1041s ok 94 /regex/new-fail/78 1041s ok 95 /regex/new-fail/79 1041s ok 96 /regex/new-fail/81 1041s ok 97 /regex/new-fail/83 1041s ok 98 /regex/new-fail/84 1041s ok 99 /regex/new-fail/85 1041s ok 100 /regex/new-fail/86 1041s ok 101 /regex/new-fail/87 1041s ok 102 /regex/new-fail/88 1041s ok 103 /regex/new-fail/89 1041s ok 104 /regex/new-fail/90 1041s ok 105 /regex/new-fail/91 1041s # End of new-fail tests 1041s # Start of match-simple tests 1041s ok 106 /regex/match-simple/92 1041s ok 107 /regex/match-simple/93 1041s ok 108 /regex/match-simple/94 1041s ok 109 /regex/match-simple/95 1041s ok 110 /regex/match-simple/96 1041s ok 111 /regex/match-simple/97 1041s ok 112 /regex/match-simple/98 1041s ok 113 /regex/match-simple/99 1041s ok 114 /regex/match-simple/100 1041s ok 115 /regex/match-simple/101 1041s ok 116 /regex/match-simple/102 1041s ok 117 /regex/match-simple/103 1041s ok 118 /regex/match-simple/104 1041s ok 119 /regex/match-simple/105 1041s ok 120 /regex/match-simple/106 1041s ok 121 /regex/match-simple/107 1041s ok 122 /regex/match-simple/108 1041s ok 123 /regex/match-simple/109 1041s ok 124 /regex/match-simple/110 1041s ok 125 /regex/match-simple/111 1041s ok 126 /regex/match-simple/112 1041s ok 127 /regex/match-simple/113 1041s ok 128 /regex/match-simple/114 1041s ok 129 /regex/match-simple/115 1041s ok 130 /regex/match-simple/116 1041s ok 131 /regex/match-simple/117 1041s ok 132 /regex/match-simple/118 1041s ok 133 /regex/match-simple/119 1041s ok 134 /regex/match-simple/120 1041s ok 135 /regex/match-simple/121 1041s ok 136 /regex/match-simple/122 1041s ok 137 /regex/match-simple/123 1041s ok 138 /regex/match-simple/124 1041s ok 139 /regex/match-simple/125 1041s ok 140 /regex/match-simple/126 1041s ok 141 /regex/match-simple/127 1041s ok 142 /regex/match-simple/128 1041s ok 143 /regex/match-simple/129 1041s ok 144 /regex/match-simple/130 1041s ok 145 /regex/match-simple/131 1041s ok 146 /regex/match-simple/132 1041s ok 147 /regex/match-simple/133 1041s ok 148 /regex/match-simple/134 1041s ok 149 /regex/match-simple/135 1041s ok 150 /regex/match-simple/136 1041s ok 151 /regex/match-simple/137 1041s ok 152 /regex/match-simple/138 1041s ok 153 /regex/match-simple/139 1041s ok 154 /regex/match-simple/140 1041s ok 155 /regex/match-simple/141 1041s ok 156 /regex/match-simple/142 1041s ok 157 /regex/match-simple/143 1041s ok 158 /regex/match-simple/144 1041s ok 159 /regex/match-simple/145 1041s ok 160 /regex/match-simple/146 1041s ok 161 /regex/match-simple/147 1041s ok 162 /regex/match-simple/148 1041s ok 163 /regex/match-simple/149 1041s ok 164 /regex/match-simple/150 1041s ok 165 /regex/match-simple/151 1041s ok 166 /regex/match-simple/152 1041s ok 167 /regex/match-simple/153 1041s ok 168 /regex/match-simple/154 1041s ok 169 /regex/match-simple/155 1041s ok 170 /regex/match-simple/156 1041s ok 171 /regex/match-simple/157 1041s ok 172 /regex/match-simple/158 1041s ok 173 /regex/match-simple/159 1041s ok 174 /regex/match-simple/160 1041s ok 175 /regex/match-simple/161 1041s ok 176 /regex/match-simple/162 1041s ok 177 /regex/match-simple/163 1041s ok 178 /regex/match-simple/164 1041s # End of match-simple tests 1041s # Start of match-simple-optimized tests 1041s ok 179 /regex/match-simple-optimized/92 1041s ok 180 /regex/match-simple-optimized/93 1041s ok 181 /regex/match-simple-optimized/94 1041s ok 182 /regex/match-simple-optimized/95 1041s ok 183 /regex/match-simple-optimized/96 1041s ok 184 /regex/match-simple-optimized/97 1041s ok 185 /regex/match-simple-optimized/98 1041s ok 186 /regex/match-simple-optimized/99 1041s ok 187 /regex/match-simple-optimized/100 1041s ok 188 /regex/match-simple-optimized/101 1041s ok 189 /regex/match-simple-optimized/102 1041s ok 190 /regex/match-simple-optimized/103 1041s ok 191 /regex/match-simple-optimized/104 1041s ok 192 /regex/match-simple-optimized/105 1041s ok 193 /regex/match-simple-optimized/106 1041s ok 194 /regex/match-simple-optimized/107 1041s ok 195 /regex/match-simple-optimized/108 1041s ok 196 /regex/match-simple-optimized/109 1041s ok 197 /regex/match-simple-optimized/110 1041s ok 198 /regex/match-simple-optimized/111 1041s ok 199 /regex/match-simple-optimized/112 1041s ok 200 /regex/match-simple-optimized/113 1041s ok 201 /regex/match-simple-optimized/114 1041s ok 202 /regex/match-simple-optimized/115 1041s ok 203 /regex/match-simple-optimized/116 1041s ok 204 /regex/match-simple-optimized/117 1041s ok 205 /regex/match-simple-optimized/118 1041s ok 206 /regex/match-simple-optimized/119 1041s ok 207 /regex/match-simple-optimized/120 1041s ok 208 /regex/match-simple-optimized/121 1041s ok 209 /regex/match-simple-optimized/122 1041s ok 210 /regex/match-simple-optimized/123 1041s ok 211 /regex/match-simple-optimized/124 1041s ok 212 /regex/match-simple-optimized/125 1041s ok 213 /regex/match-simple-optimized/126 1041s ok 214 /regex/match-simple-optimized/127 1041s ok 215 /regex/match-simple-optimized/128 1041s ok 216 /regex/match-simple-optimized/129 1041s ok 217 /regex/match-simple-optimized/130 1041s ok 218 /regex/match-simple-optimized/131 1041s ok 219 /regex/match-simple-optimized/132 1041s ok 220 /regex/match-simple-optimized/133 1041s ok 221 /regex/match-simple-optimized/134 1041s ok 222 /regex/match-simple-optimized/135 1041s ok 223 /regex/match-simple-optimized/136 1041s ok 224 /regex/match-simple-optimized/137 1041s ok 225 /regex/match-simple-optimized/138 1041s ok 226 /regex/match-simple-optimized/139 1041s ok 227 /regex/match-simple-optimized/140 1041s ok 228 /regex/match-simple-optimized/141 1041s ok 229 /regex/match-simple-optimized/142 1041s ok 230 /regex/match-simple-optimized/143 1041s ok 231 /regex/match-simple-optimized/144 1041s ok 232 /regex/match-simple-optimized/145 1041s ok 233 /regex/match-simple-optimized/146 1041s ok 234 /regex/match-simple-optimized/147 1041s ok 235 /regex/match-simple-optimized/148 1041s ok 236 /regex/match-simple-optimized/149 1041s ok 237 /regex/match-simple-optimized/150 1041s ok 238 /regex/match-simple-optimized/151 1041s ok 239 /regex/match-simple-optimized/152 1041s ok 240 /regex/match-simple-optimized/153 1041s ok 241 /regex/match-simple-optimized/154 1041s ok 242 /regex/match-simple-optimized/155 1041s ok 243 /regex/match-simple-optimized/156 1041s ok 244 /regex/match-simple-optimized/157 1041s ok 245 /regex/match-simple-optimized/158 1041s ok 246 /regex/match-simple-optimized/159 1041s ok 247 /regex/match-simple-optimized/160 1041s ok 248 /regex/match-simple-optimized/161 1041s ok 249 /regex/match-simple-optimized/162 1041s ok 250 /regex/match-simple-optimized/163 1041s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1041s ok 251 /regex/match-simple-optimized/164 1041s # End of match-simple-optimized tests 1041s # Start of match tests 1041s ok 252 /regex/match/165 1041s ok 253 /regex/match/166 1041s ok 254 /regex/match/167 1041s ok 255 /regex/match/168 1041s ok 256 /regex/match/169 1041s ok 257 /regex/match/170 1041s ok 258 /regex/match/171 1041s ok 259 /regex/match/172 1041s ok 260 /regex/match/173 1041s ok 261 /regex/match/174 1041s ok 262 /regex/match/175 1041s ok 263 /regex/match/176 1041s ok 264 /regex/match/177 1041s ok 265 /regex/match/178 1041s ok 266 /regex/match/179 1041s ok 267 /regex/match/180 1041s ok 268 /regex/match/181 1041s ok 269 /regex/match/182 1041s ok 270 /regex/match/183 1041s ok 271 /regex/match/184 1041s ok 272 /regex/match/185 1041s ok 273 /regex/match/186 1041s ok 274 /regex/match/187 1041s ok 275 /regex/match/188 1041s ok 276 /regex/match/189 1041s ok 277 /regex/match/190 1041s ok 278 /regex/match/191 1041s ok 279 /regex/match/192 1041s ok 280 /regex/match/193 1041s ok 281 /regex/match/194 1041s ok 282 /regex/match/195 1041s ok 283 /regex/match/196 1041s ok 284 /regex/match/197 1041s ok 285 /regex/match/198 1041s ok 286 /regex/match/199 1041s ok 287 /regex/match/200 1041s ok 288 /regex/match/201 1041s ok 289 /regex/match/202 1041s ok 290 /regex/match/203 1041s ok 291 /regex/match/204 1041s ok 292 /regex/match/205 1041s ok 293 /regex/match/206 1041s ok 294 /regex/match/207 1041s ok 295 /regex/match/208 1041s ok 296 /regex/match/209 1041s ok 297 /regex/match/210 1041s ok 298 /regex/match/211 1041s ok 299 /regex/match/212 1041s ok 300 /regex/match/213 1041s ok 301 /regex/match/214 1041s ok 302 /regex/match/215 1041s ok 303 /regex/match/216 1041s ok 304 /regex/match/217 1041s ok 305 /regex/match/218 1041s ok 306 /regex/match/219 1041s ok 307 /regex/match/220 1041s ok 308 /regex/match/221 1041s ok 309 /regex/match/222 1041s ok 310 /regex/match/223 1041s ok 311 /regex/match/224 1041s ok 312 /regex/match/225 1041s ok 313 /regex/match/226 1041s ok 314 /regex/match/227 1041s ok 315 /regex/match/228 1041s ok 316 /regex/match/229 1041s ok 317 /regex/match/230 1041s ok 318 /regex/match/231 1041s ok 319 /regex/match/232 1041s ok 320 /regex/match/233 1041s ok 321 /regex/match/234 1041s ok 322 /regex/match/235 1041s ok 323 /regex/match/236 1041s ok 324 /regex/match/237 1041s ok 325 /regex/match/238 1041s ok 326 /regex/match/239 1041s ok 327 /regex/match/240 1041s ok 328 /regex/match/241 1041s ok 329 /regex/match/242 1041s ok 330 /regex/match/243 1041s ok 331 /regex/match/244 1041s ok 332 /regex/match/245 1041s ok 333 /regex/match/246 1041s ok 334 /regex/match/partial281 1041s ok 335 /regex/match/partial282 1041s ok 336 /regex/match/partial283 1041s ok 337 /regex/match/partial284 1041s ok 338 /regex/match/partial285 1041s ok 339 /regex/match/partial286 1041s ok 340 /regex/match/partial287 1041s ok 341 /regex/match/partial288 1041s ok 342 /regex/match/partial289 1041s ok 343 /regex/match/partial290 1041s ok 344 /regex/match/partial291 1041s ok 345 /regex/match/partial292 1041s ok 346 /regex/match/partial293 1041s ok 347 /regex/match/partial294 1041s ok 348 /regex/match/partial295 1041s ok 349 /regex/match/partial296 1041s ok 350 /regex/match/partial297 1041s ok 351 /regex/match/partial298 1041s ok 352 /regex/match/partial299 1041s ok 353 /regex/match/partial300 1041s ok 354 /regex/match/partial301 1041s ok 355 /regex/match/partial302 1041s # Start of next0 tests 1041s ok 356 /regex/match/next0/247 1041s ok 357 /regex/match/next0/248 1041s ok 358 /regex/match/next0/249 1041s ok 359 /regex/match/next0/250 1041s # End of next0 tests 1041s # Start of next1 tests 1041s ok 360 /regex/match/next1/251 1041s ok 361 /regex/match/next1/252 1041s ok 362 /regex/match/next1/253 1041s ok 363 /regex/match/next1/254 1041s ok 364 /regex/match/next1/255 1041s # End of next1 tests 1041s # Start of next2 tests 1041s ok 365 /regex/match/next2/256 1041s ok 366 /regex/match/next2/257 1041s ok 367 /regex/match/next2/258 1041s ok 368 /regex/match/next2/259 1041s ok 369 /regex/match/next2/260 1041s ok 370 /regex/match/next2/261 1041s ok 371 /regex/match/next2/262 1041s ok 372 /regex/match/next2/263 1041s # End of next2 tests 1041s # Start of next3 tests 1041s ok 373 /regex/match/next3/264 1041s ok 374 /regex/match/next3/265 1041s ok 375 /regex/match/next3/266 1041s ok 376 /regex/match/next3/267 1041s ok 377 /regex/match/next3/268 1041s ok 378 /regex/match/next3/269 1041s # End of next3 tests 1041s # Start of next4 tests 1041s ok 379 /regex/match/next4/270 1041s # End of next4 tests 1041s # Start of count tests 1041s ok 380 /regex/match/count/271 1041s ok 381 /regex/match/count/272 1041s ok 382 /regex/match/count/273 1041s ok 383 /regex/match/count/274 1041s ok 384 /regex/match/count/275 1041s ok 385 /regex/match/count/276 1041s ok 386 /regex/match/count/277 1041s ok 387 /regex/match/count/278 1041s ok 388 /regex/match/count/279 1041s ok 389 /regex/match/count/280 1041s # End of count tests 1041s # Start of count-optimized tests 1041s ok 390 /regex/match/count-optimized/271 1041s ok 391 /regex/match/count-optimized/272 1041s ok 392 /regex/match/count-optimized/273 1041s ok 393 /regex/match/count-optimized/274 1041s ok 394 /regex/match/count-optimized/275 1041s ok 395 /regex/match/count-optimized/276 1041s ok 396 /regex/match/count-optimized/277 1041s ok 397 /regex/match/count-optimized/278 1041s ok 398 /regex/match/count-optimized/279 1041s ok 399 /regex/match/count-optimized/280 1041s # End of count-optimized tests 1041s # Start of partial-optimized tests 1041s ok 400 /regex/match/partial-optimized/281 1041s ok 401 /regex/match/partial-optimized/282 1041s ok 402 /regex/match/partial-optimized/283 1041s ok 403 /regex/match/partial-optimized/284 1041s ok 404 /regex/match/partial-optimized/285 1041s ok 405 /regex/match/partial-optimized/286 1041s ok 406 /regex/match/partial-optimized/287 1041s ok 407 /regex/match/partial-optimized/288 1041s ok 408 /regex/match/partial-optimized/289 1041s ok 409 /regex/match/partial-optimized/290 1041s ok 410 /regex/match/partial-optimized/291 1041s ok 411 /regex/match/partial-optimized/292 1041s ok 412 /regex/match/partial-optimized/293 1041s ok 413 /regex/match/partial-optimized/294 1041s ok 414 /regex/match/partial-optimized/295 1041s ok 415 /regex/match/partial-optimized/296 1041s ok 416 /regex/match/partial-optimized/297 1041s ok 417 /regex/match/partial-optimized/298 1041s ok 418 /regex/match/partial-optimized/299 1041s ok 419 /regex/match/partial-optimized/300 1041s ok 420 /regex/match/partial-optimized/301 1041s ok 421 /regex/match/partial-optimized/302 1041s # End of partial-optimized tests 1041s # Start of subpattern tests 1041s ok 422 /regex/match/subpattern/303 1041s ok 423 /regex/match/subpattern/304 1041s ok 424 /regex/match/subpattern/305 1041s ok 425 /regex/match/subpattern/306 1041s ok 426 /regex/match/subpattern/307 1041s ok 427 /regex/match/subpattern/308 1041s ok 428 /regex/match/subpattern/309 1041s ok 429 /regex/match/subpattern/310 1041s ok 430 /regex/match/subpattern/311 1041s ok 431 /regex/match/subpattern/312 1041s ok 432 /regex/match/subpattern/313 1041s ok 433 /regex/match/subpattern/314 1041s ok 434 /regex/match/subpattern/315 1041s # Start of named tests 1041s # Start of dupnames tests 1041s ok 435 /regex/match/subpattern/named/dupnames/325 1041s ok 436 /regex/match/subpattern/named/dupnames/326 1041s ok 437 /regex/match/subpattern/named/dupnames/327 1041s ok 438 /regex/match/subpattern/named/dupnames/328 1041s ok 439 /regex/match/subpattern/named/dupnames/329 1041s # End of dupnames tests 1041s # End of named tests 1041s # End of subpattern tests 1041s # Start of subpattern-optimized tests 1041s ok 440 /regex/match/subpattern-optimized/303 1041s ok 441 /regex/match/subpattern-optimized/304 1041s ok 442 /regex/match/subpattern-optimized/305 1041s ok 443 /regex/match/subpattern-optimized/306 1041s ok 444 /regex/match/subpattern-optimized/307 1041s ok 445 /regex/match/subpattern-optimized/308 1041s ok 446 /regex/match/subpattern-optimized/309 1041s ok 447 /regex/match/subpattern-optimized/310 1041s ok 448 /regex/match/subpattern-optimized/311 1041s ok 449 /regex/match/subpattern-optimized/312 1041s ok 450 /regex/match/subpattern-optimized/313 1041s ok 451 /regex/match/subpattern-optimized/314 1041s ok 452 /regex/match/subpattern-optimized/315 1041s # End of subpattern-optimized tests 1041s # Start of named tests 1041s # Start of subpattern tests 1041s ok 453 /regex/match/named/subpattern/316 1041s ok 454 /regex/match/named/subpattern/317 1041s ok 455 /regex/match/named/subpattern/318 1041s ok 456 /regex/match/named/subpattern/319 1041s ok 457 /regex/match/named/subpattern/320 1041s ok 458 /regex/match/named/subpattern/321 1041s ok 459 /regex/match/named/subpattern/322 1041s ok 460 /regex/match/named/subpattern/323 1041s ok 461 /regex/match/named/subpattern/324 1041s ok 462 /regex/match/named/subpattern/330 1041s ok 463 /regex/match/named/subpattern/331 1041s ok 464 /regex/match/named/subpattern/332 1041s ok 465 /regex/match/named/subpattern/333 1041s ok 466 /regex/match/named/subpattern/334 1041s # End of subpattern tests 1041s # End of named tests 1041s # End of match tests 1041s # Start of match-optimized tests 1041s ok 467 /regex/match-optimized/165 1041s ok 468 /regex/match-optimized/166 1041s ok 469 /regex/match-optimized/167 1041s ok 470 /regex/match-optimized/168 1041s ok 471 /regex/match-optimized/169 1041s ok 472 /regex/match-optimized/170 1041s ok 473 /regex/match-optimized/171 1041s ok 474 /regex/match-optimized/172 1041s ok 475 /regex/match-optimized/173 1041s ok 476 /regex/match-optimized/174 1041s ok 477 /regex/match-optimized/175 1041s ok 478 /regex/match-optimized/176 1041s ok 479 /regex/match-optimized/177 1041s ok 480 /regex/match-optimized/178 1041s ok 481 /regex/match-optimized/179 1041s ok 482 /regex/match-optimized/180 1041s ok 483 /regex/match-optimized/181 1041s ok 484 /regex/match-optimized/182 1041s ok 485 /regex/match-optimized/183 1041s ok 486 /regex/match-optimized/184 1041s ok 487 /regex/match-optimized/185 1041s ok 488 /regex/match-optimized/186 1041s ok 489 /regex/match-optimized/187 1041s ok 490 /regex/match-optimized/188 1041s ok 491 /regex/match-optimized/189 1041s ok 492 /regex/match-optimized/190 1041s ok 493 /regex/match-optimized/191 1041s ok 494 /regex/match-optimized/192 1041s ok 495 /regex/match-optimized/193 1041s ok 496 /regex/match-optimized/194 1041s ok 497 /regex/match-optimized/195 1041s ok 498 /regex/match-optimized/196 1041s ok 499 /regex/match-optimized/197 1041s ok 500 /regex/match-optimized/198 1041s ok 501 /regex/match-optimized/199 1041s ok 502 /regex/match-optimized/200 1041s ok 503 /regex/match-optimized/201 1041s ok 504 /regex/match-optimized/202 1041s ok 505 /regex/match-optimized/203 1041s ok 506 /regex/match-optimized/204 1041s ok 507 /regex/match-optimized/205 1041s ok 508 /regex/match-optimized/206 1041s ok 509 /regex/match-optimized/207 1041s ok 510 /regex/match-optimized/208 1041s ok 511 /regex/match-optimized/209 1041s ok 512 /regex/match-optimized/210 1041s ok 513 /regex/match-optimized/211 1041s ok 514 /regex/match-optimized/212 1041s ok 515 /regex/match-optimized/213 1041s ok 516 /regex/match-optimized/214 1041s ok 517 /regex/match-optimized/215 1041s ok 518 /regex/match-optimized/216 1041s ok 519 /regex/match-optimized/217 1041s ok 520 /regex/match-optimized/218 1041s ok 521 /regex/match-optimized/219 1041s ok 522 /regex/match-optimized/220 1041s ok 523 /regex/match-optimized/221 1041s ok 524 /regex/match-optimized/222 1041s ok 525 /regex/match-optimized/223 1041s ok 526 /regex/match-optimized/224 1041s ok 527 /regex/match-optimized/225 1041s ok 528 /regex/match-optimized/226 1041s ok 529 /regex/match-optimized/227 1041s ok 530 /regex/match-optimized/228 1041s ok 531 /regex/match-optimized/229 1041s ok 532 /regex/match-optimized/230 1041s ok 533 /regex/match-optimized/231 1041s ok 534 /regex/match-optimized/232 1041s ok 535 /regex/match-optimized/233 1041s ok 536 /regex/match-optimized/234 1041s ok 537 /regex/match-optimized/235 1041s ok 538 /regex/match-optimized/236 1041s ok 539 /regex/match-optimized/237 1041s ok 540 /regex/match-optimized/238 1041s ok 541 /regex/match-optimized/239 1041s ok 542 /regex/match-optimized/240 1041s ok 543 /regex/match-optimized/241 1041s ok 544 /regex/match-optimized/242 1041s ok 545 /regex/match-optimized/243 1041s ok 546 /regex/match-optimized/244 1041s ok 547 /regex/match-optimized/245 1041s ok 548 /regex/match-optimized/246 1041s # End of match-optimized tests 1041s # Start of fetch-all0 tests 1041s ok 549 /regex/fetch-all0/335 1041s ok 550 /regex/fetch-all0/336 1041s # End of fetch-all0 tests 1041s # Start of fetch-all1 tests 1041s ok 551 /regex/fetch-all1/337 1041s ok 552 /regex/fetch-all1/338 1041s ok 553 /regex/fetch-all1/339 1041s # End of fetch-all1 tests 1041s # Start of fetch-all2 tests 1041s ok 554 /regex/fetch-all2/340 1041s ok 555 /regex/fetch-all2/341 1041s ok 556 /regex/fetch-all2/342 1041s # End of fetch-all2 tests 1041s # Start of fetch-all3 tests 1041s ok 557 /regex/fetch-all3/343 1041s ok 558 /regex/fetch-all3/344 1041s ok 559 /regex/fetch-all3/345 1041s ok 560 /regex/fetch-all3/346 1041s ok 561 /regex/fetch-all3/347 1041s # End of fetch-all3 tests 1041s # Start of split tests 1041s # Start of simple0 tests 1041s ok 562 /regex/split/simple0/348 1041s ok 563 /regex/split/simple0/349 1041s ok 564 /regex/split/simple0/364 1041s ok 565 /regex/split/simple0/365 1041s # End of simple0 tests 1041s # Start of simple1 tests 1041s ok 566 /regex/split/simple1/350 1041s ok 567 /regex/split/simple1/351 1041s # End of simple1 tests 1041s # Start of simple2 tests 1041s ok 568 /regex/split/simple2/352 1041s ok 569 /regex/split/simple2/358 1041s ok 570 /regex/split/simple2/360 1041s # End of simple2 tests 1041s # Start of simple3 tests 1041s ok 571 /regex/split/simple3/353 1041s ok 572 /regex/split/simple3/354 1041s ok 573 /regex/split/simple3/355 1041s ok 574 /regex/split/simple3/356 1041s ok 575 /regex/split/simple3/357 1041s ok 576 /regex/split/simple3/359 1041s ok 577 /regex/split/simple3/361 1041s ok 578 /regex/split/simple3/362 1041s ok 579 /regex/split/simple3/363 1041s # End of simple3 tests 1041s # End of split tests 1041s # Start of split0 tests 1041s ok 580 /regex/split0/366 1041s ok 581 /regex/split0/368 1041s # End of split0 tests 1041s # Start of full-split0 tests 1041s ok 582 /regex/full-split0/367 1041s ok 583 /regex/full-split0/369 1041s ok 584 /regex/full-split0/370 1041s ok 585 /regex/full-split0/371 1041s ok 586 /regex/full-split0/372 1041s # End of full-split0 tests 1041s # Start of split1 tests 1041s ok 587 /regex/split1/373 1041s ok 588 /regex/split1/376 1041s # End of split1 tests 1041s # Start of full-split1 tests 1041s ok 589 /regex/full-split1/374 1041s ok 590 /regex/full-split1/375 1041s ok 591 /regex/full-split1/377 1041s ok 592 /regex/full-split1/378 1041s ok 593 /regex/full-split1/404 1041s # End of full-split1 tests 1041s # Start of split2 tests 1041s ok 594 /regex/split2/379 1041s ok 595 /regex/split2/383 1041s ok 596 /regex/split2/395 1041s # End of split2 tests 1041s # Start of full-split2 tests 1041s ok 597 /regex/full-split2/380 1041s ok 598 /regex/full-split2/381 1041s ok 599 /regex/full-split2/382 1041s ok 600 /regex/full-split2/384 1041s ok 601 /regex/full-split2/396 1041s ok 602 /regex/full-split2/399 1041s ok 603 /regex/full-split2/405 1041s # End of full-split2 tests 1041s # Start of split3 tests 1041s ok 604 /regex/split3/385 1041s ok 605 /regex/split3/387 1041s ok 606 /regex/split3/389 1041s ok 607 /regex/split3/391 1041s ok 608 /regex/split3/393 1041s ok 609 /regex/split3/397 1041s ok 610 /regex/split3/400 1041s ok 611 /regex/split3/402 1041s # End of split3 tests 1041s # Start of full-split3 tests 1041s ok 612 /regex/full-split3/386 1041s ok 613 /regex/full-split3/388 1041s ok 614 /regex/full-split3/390 1041s ok 615 /regex/full-split3/392 1041s ok 616 /regex/full-split3/394 1041s ok 617 /regex/full-split3/398 1041s ok 618 /regex/full-split3/401 1041s ok 619 /regex/full-split3/403 1041s ok 620 /regex/full-split3/406 1041s ok 621 /regex/full-split3/407 1041s # End of full-split3 tests 1041s # Start of check-repacement tests 1041s ok 622 /regex/check-repacement/408 1041s ok 623 /regex/check-repacement/409 1041s ok 624 /regex/check-repacement/410 1041s ok 625 /regex/check-repacement/411 1041s ok 626 /regex/check-repacement/412 1041s ok 627 /regex/check-repacement/413 1041s ok 628 /regex/check-repacement/414 1041s ok 629 /regex/check-repacement/415 1041s # End of check-repacement tests 1041s # Start of expand tests 1041s ok 630 /regex/expand/416 1041s ok 631 /regex/expand/417 1041s ok 632 /regex/expand/418 1041s ok 633 /regex/expand/419 1041s ok 634 /regex/expand/420 1041s ok 635 /regex/expand/421 1041s ok 636 /regex/expand/422 1041s ok 637 /regex/expand/423 1041s ok 638 /regex/expand/424 1041s ok 639 /regex/expand/425 1041s ok 640 /regex/expand/426 1041s ok 641 /regex/expand/427 1041s ok 642 /regex/expand/428 1041s ok 643 /regex/expand/429 1041s ok 644 /regex/expand/430 1041s ok 645 /regex/expand/431 1041s ok 646 /regex/expand/432 1041s ok 647 /regex/expand/433 1041s ok 648 /regex/expand/434 1041s ok 649 /regex/expand/435 1041s ok 650 /regex/expand/436 1041s ok 651 /regex/expand/437 1041s ok 652 /regex/expand/438 1041s ok 653 /regex/expand/439 1041s ok 654 /regex/expand/440 1041s ok 655 /regex/expand/441 1041s ok 656 /regex/expand/442 1041s ok 657 /regex/expand/443 1041s ok 658 /regex/expand/444 1041s ok 659 /regex/expand/445 1041s ok 660 /regex/expand/446 1041s ok 661 /regex/expand/447 1041s ok 662 /regex/expand/448 1041s ok 663 /regex/expand/449 1041s ok 664 /regex/expand/450 1041s ok 665 /regex/expand/451 1041s ok 666 /regex/expand/452 1041s ok 667 /regex/expand/453 1041s ok 668 /regex/expand/454 1041s ok 669 /regex/expand/455 1041s ok 670 /regex/expand/456 1041s ok 671 /regex/expand/457 1041s ok 672 /regex/expand/458 1041s ok 673 /regex/expand/459 1041s ok 674 /regex/expand/460 1041s ok 675 /regex/expand/461 1041s ok 676 /regex/expand/462 1041s ok 677 /regex/expand/463 1041s ok 678 /regex/expand/464 1041s ok 679 /regex/expand/465 1041s ok 680 /regex/expand/466 1041s ok 681 /regex/expand/467 1041s ok 682 /regex/expand/468 1041s ok 683 /regex/expand/469 1041s ok 684 /regex/expand/470 1041s ok 685 /regex/expand/471 1041s ok 686 /regex/expand/472 1041s ok 687 /regex/expand/473 1041s ok 688 /regex/expand/474 1041s ok 689 /regex/expand/475 1041s ok 690 /regex/expand/476 1041s ok 691 /regex/expand/477 1041s ok 692 /regex/expand/478 1041s ok 693 /regex/expand/479 1041s ok 694 /regex/expand/480 1041s ok 695 /regex/expand/481 1041s # End of expand tests 1041s # Start of replace tests 1041s ok 696 /regex/replace/482 1041s ok 697 /regex/replace/483 1041s ok 698 /regex/replace/484 1041s ok 699 /regex/replace/485 1041s ok 700 /regex/replace/486 1041s ok 701 /regex/replace/487 1041s ok 702 /regex/replace/488 1041s ok 703 /regex/replace/489 1041s ok 704 /regex/replace/490 1041s ok 705 /regex/replace/491 1041s ok 706 /regex/replace/492 1041s ok 707 /regex/replace/493 1041s ok 708 /regex/replace/494 1041s ok 709 /regex/replace/495 1041s ok 710 /regex/replace/496 1041s ok 711 /regex/replace/497 1041s ok 712 /regex/replace/498 1041s ok 713 /regex/replace/499 1041s ok 714 /regex/replace/500 1041s ok 715 /regex/replace/501 1041s ok 716 /regex/replace/502 1041s ok 717 /regex/replace/503 1041s ok 718 /regex/replace/504 1041s ok 719 /regex/replace/505 1041s ok 720 /regex/replace/506 1041s ok 721 /regex/replace/507 1041s ok 722 /regex/replace/508 1041s ok 723 /regex/replace/509 1041s # End of replace tests 1041s # Start of replace-optimized tests 1041s ok 724 /regex/replace-optimized/482 1041s ok 725 /regex/replace-optimized/483 1041s ok 726 /regex/replace-optimized/484 1041s ok 727 /regex/replace-optimized/485 1041s ok 728 /regex/replace-optimized/486 1041s ok 729 /regex/replace-optimized/487 1041s ok 730 /regex/replace-optimized/488 1041s ok 731 /regex/replace-optimized/489 1041s ok 732 /regex/replace-optimized/490 1041s ok 733 /regex/replace-optimized/491 1041s ok 734 /regex/replace-optimized/492 1041s ok 735 /regex/replace-optimized/493 1041s ok 736 /regex/replace-optimized/494 1041s ok 737 /regex/replace-optimized/495 1041s ok 738 /regex/replace-optimized/496 1041s ok 739 /regex/replace-optimized/497 1041s ok 740 /regex/replace-optimized/498 1041s ok 741 /regex/replace-optimized/499 1041s ok 742 /regex/replace-optimized/500 1041s ok 743 /regex/replace-optimized/501 1041s ok 744 /regex/replace-optimized/502 1041s ok 745 /regex/replace-optimized/503 1041s ok 746 /regex/replace-optimized/504 1041s ok 747 /regex/replace-optimized/505 1041s ok 748 /regex/replace-optimized/506 1041s ok 749 /regex/replace-optimized/507 1041s ok 750 /regex/replace-optimized/508 1041s ok 751 /regex/replace-optimized/509 1041s # End of replace-optimized tests 1041s # Start of replace-literally tests 1041s ok 752 /regex/replace-literally/510 1041s ok 753 /regex/replace-literally/511 1041s ok 754 /regex/replace-literally/512 1041s ok 755 /regex/replace-literally/513 1041s ok 756 /regex/replace-literally/514 1041s ok 757 /regex/replace-literally/515 1041s ok 758 /regex/replace-literally/516 1041s ok 759 /regex/replace-literally/517 1041s ok 760 /regex/replace-literally/518 1041s ok 761 /regex/replace-literally/519 1041s ok 762 /regex/replace-literally/520 1041s ok 763 /regex/replace-literally/521 1041s ok 764 /regex/replace-literally/522 1041s ok 765 /regex/replace-literally/523 1041s ok 766 /regex/replace-literally/524 1041s ok 767 /regex/replace-literally/525 1041s ok 768 /regex/replace-literally/526 1041s ok 769 /regex/replace-literally/527 1041s ok 770 /regex/replace-literally/528 1041s ok 771 /regex/replace-literally/529 1041s # End of replace-literally tests 1041s # Start of string-number tests 1041s ok 772 /regex/string-number/530 1041s ok 773 /regex/string-number/531 1041s ok 774 /regex/string-number/532 1041s ok 775 /regex/string-number/533 1041s ok 776 /regex/string-number/534 1041s ok 777 /regex/string-number/535 1041s ok 778 /regex/string-number/536 1041s ok 779 /regex/string-number/537 1041s ok 780 /regex/string-number/538 1041s ok 781 /regex/string-number/539 1041s ok 782 /regex/string-number/540 1041s ok 783 /regex/string-number/541 1041s ok 784 /regex/string-number/542 1041s ok 785 /regex/string-number/543 1041s ok 786 /regex/string-number/544 1041s # End of string-number tests 1041s # Start of escape_nul tests 1041s ok 787 /regex/escape_nul/545 1041s ok 788 /regex/escape_nul/546 1041s ok 789 /regex/escape_nul/547 1041s ok 790 /regex/escape_nul/548 1041s ok 791 /regex/escape_nul/549 1041s ok 792 /regex/escape_nul/550 1041s ok 793 /regex/escape_nul/551 1041s ok 794 /regex/escape_nul/552 1041s ok 795 /regex/escape_nul/553 1041s ok 796 /regex/escape_nul/554 1041s ok 797 /regex/escape_nul/555 1041s ok 798 /regex/escape_nul/556 1041s ok 799 /regex/escape_nul/557 1041s ok 800 /regex/escape_nul/558 1041s ok 801 /regex/escape_nul/559 1041s # End of escape_nul tests 1041s # Start of escape tests 1041s ok 802 /regex/escape/560 1041s ok 803 /regex/escape/561 1041s ok 804 /regex/escape/562 1041s ok 805 /regex/escape/563 1041s ok 806 /regex/escape/564 1041s ok 807 /regex/escape/565 1041s ok 808 /regex/escape/566 1041s ok 809 /regex/escape/567 1041s ok 810 /regex/escape/568 1041s ok 811 /regex/escape/569 1041s ok 812 /regex/escape/570 1041s ok 813 /regex/escape/571 1041s ok 814 /regex/escape/572 1041s ok 815 /regex/escape/573 1041s ok 816 /regex/escape/574 1041s ok 817 /regex/escape/575 1041s ok 818 /regex/escape/576 1041s ok 819 /regex/escape/577 1041s # End of escape tests 1041s # Start of match-all0 tests 1041s ok 820 /regex/match-all0/578 1041s ok 821 /regex/match-all0/580 1041s # End of match-all0 tests 1041s # Start of match-all-full0 tests 1041s ok 822 /regex/match-all-full0/579 1041s ok 823 /regex/match-all-full0/581 1041s ok 824 /regex/match-all-full0/582 1041s ok 825 /regex/match-all-full0/583 1041s # End of match-all-full0 tests 1041s # Start of match-all1 tests 1041s ok 826 /regex/match-all1/584 1041s ok 827 /regex/match-all1/586 1041s ok 828 /regex/match-all1/591 1041s # End of match-all1 tests 1041s # Start of match-all-full1 tests 1041s ok 829 /regex/match-all-full1/585 1041s ok 830 /regex/match-all-full1/587 1041s ok 831 /regex/match-all-full1/588 1041s ok 832 /regex/match-all-full1/589 1041s ok 833 /regex/match-all-full1/590 1041s ok 834 /regex/match-all-full1/592 1041s # End of match-all-full1 tests 1041s # Start of match-all2 tests 1041s ok 835 /regex/match-all2/593 1041s ok 836 /regex/match-all2/595 1041s ok 837 /regex/match-all2/597 1041s # End of match-all2 tests 1041s # Start of match-all-full2 tests 1041s ok 838 /regex/match-all-full2/594 1041s ok 839 /regex/match-all-full2/596 1041s ok 840 /regex/match-all-full2/598 1041s # End of match-all-full2 tests 1041s # Start of match-all3 tests 1041s ok 841 /regex/match-all3/599 1041s ok 842 /regex/match-all3/601 1041s # End of match-all3 tests 1041s # Start of match-all-full3 tests 1041s ok 843 /regex/match-all-full3/600 1041s ok 844 /regex/match-all-full3/602 1041s # End of match-all-full3 tests 1041s # Start of match-notempty tests 1041s ok 845 /regex/match-notempty/603 1041s # End of match-notempty tests 1041s # Start of match-notempty-optimized tests 1041s ok 846 /regex/match-notempty-optimized/603 1041s # End of match-notempty-optimized tests 1041s # Start of match-notempty-atstart tests 1041s ok 847 /regex/match-notempty-atstart/604 1041s # End of match-notempty-atstart tests 1041s # Start of match-notempty-atstart-optimized tests 1041s ok 848 /regex/match-notempty-atstart-optimized/604 1041s # End of match-notempty-atstart-optimized tests 1041s # End of regex tests 1041s ok - glib/regex.test 1041s # Running test: glib/thumbnail-verification.test 1041s TAP version 13 1041s # random seed: R02Sfcc9b9713a69bd816eb2f92621e9f2fb 1041s 1..1 1041s # Start of png-thumbs tests 1041s ok 1 /png-thumbs/validity 1041s # End of png-thumbs tests 1041s ok - glib/thumbnail-verification.test 1041s # Running test: glib/g-file-info.test 1041s TAP version 13 1041s # random seed: R02S3254943d143f426c114c3d3ac37b8fb0 1041s 1..6 1041s # Start of g-file-info tests 1041s ok 1 /g-file-info/test_g_file_info 1041s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1041s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1041s ok 2 /g-file-info/xattrs 1041s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1041s ok 3 /g-file-info/set-modified-date-time-precision 1041s # Start of test_g_file_info tests 1041s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1041s ok 4 /g-file-info/test_g_file_info/modification-time 1041s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1041s ok 5 /g-file-info/test_g_file_info/access-time 1041s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1041s ok 6 /g-file-info/test_g_file_info/creation-time 1041s # End of test_g_file_info tests 1041s # End of g-file-info tests 1041s ok - glib/g-file-info.test 1041s # Running test: glib/thread-pool-slow.test 1041s TAP version 13 1041s # random seed: R02Sfec9fef92544b3c6979351e538b01188 1041s 1..7 1041s # Start of threadpool tests 1041s ok 1 /threadpool/functions 1041s ok 2 /threadpool/stop-unused 1041s # slow test /threadpool/stop-unused executed in 0.51 secs 1042s ok 3 /threadpool/pools 1042s # [unsorted] ===> pushed new thread with id:24, number of threads:1, unprocessed:1 1042s # [unsorted] ===> pushed new thread with id:86, number of threads:2, unprocessed:1 1042s # [unsorted] ===> pushed new thread with id:67, number of threads:3, unprocessed:1 1042s # [unsorted] ===> pushed new thread with id:82, number of threads:4, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:73, number of threads:5, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:37, number of threads:6, unprocessed:3 1042s # [unsorted] ===> pushed new thread with id:62, number of threads:7, unprocessed:3 1042s # [unsorted] ===> pushed new thread with id:21, number of threads:8, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:9, number of threads:9, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:2 1042s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:3 1042s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:4 1042s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:5 1042s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:6 1042s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:7 1042s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:8 1042s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:9 1042s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:10 1042s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:11 1042s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:12 1042s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:13 1042s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:14 1042s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:15 1042s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:16 1042s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:17 1042s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:18 1042s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:19 1042s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:20 1042s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:21 1042s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:22 1042s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:23 1042s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:24 1042s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:25 1042s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:26 1042s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:27 1042s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:28 1042s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:29 1042s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:30 1042s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:31 1042s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:32 1042s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:33 1042s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:34 1042s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:35 1042s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:36 1042s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:37 1042s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:38 1042s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:39 1042s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:40 1042s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:41 1042s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:42 1042s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:43 1042s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:44 1042s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:45 1042s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:46 1042s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:47 1042s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:48 1042s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:49 1042s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:50 1042s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:51 1042s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:52 1042s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:53 1042s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:54 1042s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:55 1042s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:56 1042s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:57 1042s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:58 1042s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:59 1042s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:60 1042s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:61 1042s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:62 1042s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:63 1042s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:64 1042s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:65 1042s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:66 1042s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:67 1042s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:68 1042s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:69 1042s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:70 1042s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:71 1042s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:72 1042s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:73 1042s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:74 1042s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:75 1042s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:76 1042s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:77 1042s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:78 1042s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:79 1042s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:80 1042s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:81 1042s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:82 1042s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:83 1042s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:84 1042s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:85 1042s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:86 1042s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:87 1042s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:88 1042s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:89 1042s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:90 1042s ok 4 /threadpool/no-sort 1042s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:1 1042s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:2 1042s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:3 1042s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:4 1042s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:5 1042s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:6 1042s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:7 1042s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:8 1042s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:9 1042s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:10 1042s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:11 1042s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:12 1042s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:13 1042s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:14 1042s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:15 1042s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:16 1042s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:17 1042s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:18 1042s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:19 1042s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:20 1042s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:21 1042s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:22 1042s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:23 1042s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:24 1042s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:25 1042s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:26 1042s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:27 1042s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:28 1042s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:29 1042s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:30 1042s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:31 1042s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:32 1042s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:33 1042s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:34 1042s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:35 1042s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:36 1042s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:37 1042s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:38 1042s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:39 1042s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:40 1042s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:41 1042s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:42 1042s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:43 1042s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:44 1042s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:45 1042s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:46 1042s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:47 1042s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:48 1042s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:49 1042s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:50 1042s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:51 1042s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:52 1042s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:53 1042s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:54 1042s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:55 1042s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:56 1042s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:57 1042s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:58 1042s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:59 1042s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:60 1042s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:61 1042s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:62 1042s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:63 1042s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:64 1042s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:65 1042s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:66 1042s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:67 1042s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:68 1042s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:69 1042s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:70 1042s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:71 1042s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:72 1042s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:73 1042s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:74 1042s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:75 1042s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:76 1042s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:77 1042s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:78 1042s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:79 1042s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:80 1042s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:81 1042s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:82 1042s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:83 1042s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:84 1042s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:85 1042s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:86 1042s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:87 1042s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:88 1042s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:89 1042s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:90 1042s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:91 1042s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:92 1042s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:93 1042s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:94 1042s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:95 1042s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:96 1042s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:97 1042s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:98 1042s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:99 1042s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:100 1042s # Starting thread pool processing 1042s ok 5 /threadpool/sort 1042s ok 6 /threadpool/stop-unused-multiple 1042s # slow test /threadpool/stop-unused-multiple executed in 0.57 secs 1042s # Pool idle thread count: 0, unprocessed jobs: 40 1043s # Pool idle thread count: 0, unprocessed jobs: 0 1043s # Pool idle thread count: 0, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Executing: glib/thread-pool-slow.test 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Executing: glib/thread-pool-slow.test 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 2 1051s # Pool idle thread count: 10, unprocessed jobs: 2 1051s # Pool idle thread count: 8, unprocessed jobs: 0 1051s # Pool idle thread count: 8, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Executing: glib/thread-pool-slow.test 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Executing: glib/thread-pool-slow.test 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1062s ok 7 /threadpool/idle-time 1062s # slow test /threadpool/idle-time executed in 19.53 secs 1062s # End of threadpool tests 1062s ok - glib/thread-pool-slow.test 1062s # Running test: glib/gdbus-message.test 1062s TAP version 13 1062s # random seed: R02S4d4708fc8ace21b6d7b2a284cbc55f66 1062s 1..3 1062s # Start of gdbus tests 1062s # Start of message tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_9KSFK2/gdbus/message/lock/.dirs/runtime 1062s ok 1 /gdbus/message/lock 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_9KSFK2/gdbus/message/copy/.dirs/runtime 1062s ok 2 /gdbus/message/copy 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_9KSFK2/gdbus/message/bytes-needed/.dirs/runtime 1062s # Vector: 0 1062s # Vector: 1 1062s # Vector: 2 1062s # Vector: 3 1062s # Vector: 4 1062s # Vector: 5 1062s ok 3 /gdbus/message/bytes-needed 1062s # End of message tests 1062s # End of gdbus tests 1062s ok - glib/gdbus-message.test 1062s # Running test: glib/repository-search-paths.test 1062s TAP version 13 1062s # random seed: R02Sf72358d43498b3b39999615d78750c59 1062s 1..4 1062s # Start of repository tests 1062s # Start of search-paths tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/default/.dirs/runtime 1062s ok 1 /repository/search-paths/default 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VO7FK2/repository/search-paths/prepend/.dirs/runtime 1062s ok 2 /repository/search-paths/prepend 1062s # End of search-paths tests 1062s # Start of library-paths tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/default/.dirs/runtime 1062s ok 3 /repository/library-paths/default 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VO7FK2/repository/library-paths/prepend/.dirs/runtime 1062s ok 4 /repository/library-paths/prepend 1062s # End of library-paths tests 1062s # End of repository tests 1062s ok - glib/repository-search-paths.test 1062s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1062s TAP version 13 1062s # random seed: R02S4b9b8f5f8756229f7d3e4bb8c207cac3 1062s 1..8 1062s # Start of gdbus tests 1062s # Start of codegen tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/annotations/.dirs/runtime 1062s ok 1 /gdbus/codegen/annotations 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/interface_stability/.dirs/runtime 1062s ok 2 /gdbus/codegen/interface_stability 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/object-manager/.dirs/runtime 1062s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1062s ok 3 /gdbus/codegen/object-manager 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/property-naming/.dirs/runtime 1062s ok 4 /gdbus/codegen/property-naming 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/autocleanups/.dirs/runtime 1062s ok 5 /gdbus/codegen/autocleanups 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/deprecations/.dirs/runtime 1062s ok 6 /gdbus/codegen/deprecations 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1062s ok 7 /gdbus/codegen/standalone-interface-info 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_3VXEK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1062s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1062s ok 8 /gdbus/codegen/unix-fd-list 1062s # End of codegen tests 1062s # End of gdbus tests 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok - glib/gdbus-test-codegen-min-required-2-64.test 1062s # Running test: glib/dynamictype.test 1062s TAP version 13 1062s # random seed: R02S0301a94a1acc7c0951a1726312b0a647 1062s 1..2 1062s # Start of gobject tests 1062s ok 1 /gobject/dynamic-type 1062s # Start of dynamic-type tests 1062s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1062s ok 2 /gobject/dynamic-type/query 1062s # End of dynamic-type tests 1062s # End of gobject tests 1062s ok - glib/dynamictype.test 1062s # Running test: glib/rwlock.test 1062s TAP version 13 1062s # random seed: R02Sd940252d694869adb8c72b6c932fc906 1062s 1..8 1062s # Start of thread tests 1062s ok 1 /thread/rwlock1 1062s ok 2 /thread/rwlock2 1062s ok 3 /thread/rwlock3 1062s ok 4 /thread/rwlock4 1062s ok 5 /thread/rwlock5 1062s ok 6 /thread/rwlock6 1066s # Executing: glib/rwlock.test 1066s ok 7 /thread/rwlock7 1066s # slow test /thread/rwlock7 executed in 4.41 secs 1066s ok 8 /thread/rwlock8 1066s # End of thread tests 1066s ok - glib/rwlock.test 1066s # Running test: glib/bindinggroup.test 1066s TAP version 13 1066s # random seed: R02S733fa2be15f57c2c5a11db66130d3ae9 1066s 1..11 1066s # Start of GObject tests 1066s # Start of BindingGroup tests 1066s ok 1 /GObject/BindingGroup/invalid 1066s ok 2 /GObject/BindingGroup/default 1066s ok 3 /GObject/BindingGroup/bidirectional 1066s ok 4 /GObject/BindingGroup/transform 1066s ok 5 /GObject/BindingGroup/transform-closures 1066s ok 6 /GObject/BindingGroup/same-object 1066s ok 7 /GObject/BindingGroup/weak-ref-source 1066s ok 8 /GObject/BindingGroup/weak-ref-target 1066s ok 9 /GObject/BindingGroup/properties 1066s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1066s ok 11 /GObject/BindingGroup/empty-closures 1066s # End of BindingGroup tests 1066s # End of GObject tests 1066s ok - glib/bindinggroup.test 1066s # Running test: glib/param.test 1066s TAP version 13 1066s # random seed: R02Sb1d605924c4c105d077281bb278717fc 1066s 1..32 1066s # Start of param tests 1066s ok 1 /param/value 1066s ok 2 /param/strings 1066s ok 3 /param/qdata 1066s ok 4 /param/validate 1066s ok 5 /param/convert 1066s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1066s ok 7 /param/default 1066s ok 8 /param/is-valid-name 1066s # Start of invalid-name tests 1066s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1066s ok 9 /param/invalid-name/colon 1066s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1066s ok 10 /param/invalid-name/first-char 1066s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1066s ok 11 /param/invalid-name/empty 1066s # End of invalid-name tests 1066s # Start of implement tests 1066s # Start of subprocess tests 1066s # End of subprocess tests 1066s # End of implement tests 1066s # End of param tests 1066s # Start of value tests 1066s ok 12 /value/transform 1066s # End of value tests 1066s # Start of paramspec tests 1066s ok 13 /paramspec/char 1066s ok 14 /paramspec/uchar 1066s ok 15 /paramspec/int 1066s ok 16 /paramspec/uint 1066s ok 17 /paramspec/long 1066s ok 18 /paramspec/ulong 1066s ok 19 /paramspec/int64 1066s ok 20 /paramspec/uint64 1066s ok 21 /paramspec/float 1066s ok 22 /paramspec/double 1066s ok 23 /paramspec/unichar 1066s ok 24 /paramspec/param 1066s ok 25 /paramspec/null-param 1066s ok 26 /paramspec/string 1066s ok 27 /paramspec/override 1066s ok 28 /paramspec/gtype 1066s ok 29 /paramspec/variant 1066s ok 30 /paramspec/custom 1066s ok 31 /paramspec/pool 1066s # Start of variant tests 1066s ok 32 /paramspec/variant/cmp 1066s # End of variant tests 1066s # End of paramspec tests 1066s ok - glib/param.test 1066s # Running test: glib/object-info.test 1066s TAP version 13 1066s # random seed: R02Sfd34831b78ba68305c8bdde86ca1b03f 1066s 1..2 1066s # Start of object-info tests 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_JJDXJ2/object-info/find-method-using-interfaces/.dirs/runtime 1066s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1066s ok 1 /object-info/find-method-using-interfaces 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_JJDXJ2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1066s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1066s ok 2 /object-info/find-vfunc-using-interfaces 1066s # End of object-info tests 1066s ok - glib/object-info.test 1066s # Running test: glib/cache.test 1067s TAP version 13 1067s # random seed: R02Sc57bb3d38d88f6345122c06c8948eb08 1067s 1..1 1067s # Start of cache tests 1067s ok 1 /cache/basic 1067s # End of cache tests 1067s ok - glib/cache.test 1067s # Running test: glib/notify-init.test 1067s TAP version 13 1067s # random seed: R02S5e8b75b971723dc78d94887a3b52f8f3 1067s 1..1 1067s # Start of properties tests 1067s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1067s ok 1 /properties/notify-in-init 1067s # End of properties tests 1067s ok - glib/notify-init.test 1067s # Running test: glib/utils-c-99.test 1067s TAP version 13 1067s # random seed: R02S7f4b684ff14bf4c2501892b3a392c8d3 1067s 1..40 1067s # Start of utils tests 1067s ok 1 /utils/language-names 1067s ok 2 /utils/locale-variants 1067s ok 3 /utils/version 1067s ok 4 /utils/appname 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1067s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1067s ok 5 /utils/prgname-thread-safety 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1067s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1067s ok 6 /utils/tmpdir 1067s ok 7 /utils/basic_bits 1067s ok 8 /utils/bits 1067s ok 9 /utils/swap 1067s ok 10 /utils/find-program 1067s ok 11 /utils/find-program-for-path 1067s ok 12 /utils/debug 1067s ok 13 /utils/codeset 1067s ok 14 /utils/codeset2 1067s ok 15 /utils/console-charset 1067s ok 16 /utils/gettext 1067s ok 17 /utils/username 1067s ok 18 /utils/realname 1067s ok 19 /utils/hostname 1067s ok 20 /utils/xdgdirs 1067s ok 21 /utils/specialdir 1067s # NAME: Ubuntu 1067s ok 22 /utils/os-info 1067s ok 23 /utils/clear-pointer 1067s ok 24 /utils/clear-pointer-cast 1067s ok 25 /utils/take-pointer 1067s ok 26 /utils/clear-source 1067s ok 27 /utils/misc-mem 1067s # /utils/aligned-mem summary: Aligned memory allocator 1067s # Alignment must not be zero 1067s # Alignment must be a power of two 1067s # Alignment must be a multiple of sizeof(void*) 1067s ok 28 /utils/aligned-mem 1067s # /utils/free-sized summary: Check that g_free_sized() works 1067s ok 29 /utils/free-sized 1067s ok 30 /utils/nullify 1067s ok 31 /utils/atexit 1067s ok 32 /utils/check-setuid 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1067s ok 33 /utils/int-limits 1067s ok 34 /utils/clear-list 1067s ok 35 /utils/clear-slist 1067s # Start of specialdir tests 1067s ok 36 /utils/specialdir/desktop 1067s # End of specialdir tests 1067s # Start of clear-pointer tests 1067s ok 37 /utils/clear-pointer/side-effects 1067s # End of clear-pointer tests 1067s # Start of aligned-mem tests 1067s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1067s ok 38 /utils/aligned-mem/alignment 1067s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1067s ok 39 /utils/aligned-mem/zeroed 1067s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1067s ok 40 /utils/aligned-mem/free-sized 1067s # Start of subprocess tests 1067s # End of subprocess tests 1067s # End of aligned-mem tests 1067s # End of utils tests 1067s ok - glib/utils-c-99.test 1067s # Running test: glib/macros-c-90.test 1067s TAP version 13 1067s # random seed: R02S26ca25807034ec07e791c3f97546d604 1067s 1..4 1067s # Start of C tests 1067s ok 1 /C/standard-90 1067s # End of C tests 1067s # Start of alignof tests 1067s ok 2 /alignof/fallback 1067s # End of alignof tests 1067s # Start of assert tests 1067s ok 3 /assert/static 1067s # End of assert tests 1067s # Start of struct tests 1067s ok 4 /struct/sizeof_member 1067s # End of struct tests 1067s ok - glib/macros-c-90.test 1067s # Running test: glib/performance.test 1067s Running test simple-construction 1071s # Executing: glib/performance.test 1073s Millions of constructed objects per second: 14.941 1073s Running test simple-construction1 1076s # Executing: glib/performance.test 1076s Millions of constructed objects per second: 71.319 1076s Running test complex-construction 1079s Millions of constructed objects per second: 5.429 1079s Running test complex-construction1 1081s # Executing: glib/performance.test 1084s Millions of constructed objects per second: 9.308 1084s Running test complex-construction2 1086s # Executing: glib/performance.test 1089s Millions of constructed objects per second: 11.118 1089s Running test finalization 1091s # Executing: glib/performance.test 1091s Millions of finalized objects per second: 3.007 1091s Running test type-check 1091s Million type checks per second: inf 1091s Running test emit-unhandled 1092s Emissions per second: 4607635 1092s Running test emit-unhandled-empty 1093s Emissions per second: 25404930 1093s Running test emit-unhandled-generic 1094s Emissions per second: 6060100 1094s Running test emit-unhandled-generic-empty 1095s Emissions per second: 25936022 1095s Running test emit-unhandled-args 1096s # Executing: glib/performance.test 1096s Emissions per second: 4059647 1096s Running test emit-handled 1097s Emissions per second: 3199623 1097s Running test emit-handled-empty 1098s Emissions per second: 3314038 1098s Running test emit-handled-generic 1100s Emissions per second: 3287459 1100s Running test emit-handled-generic-empty 1101s # Executing: glib/performance.test 1101s Emissions per second: 5323720 1101s Running test emit-handled-args 1102s Emissions per second: 2946758 1102s Running test notify-unhandled 1103s Notify (unhandled) per second: 27132448 1103s Running test notify-by-pspec-unhandled 1104s Notify (unhandled) per second: 99713324 1104s Running test notify-handled 1105s Notify per second: 1964447 1105s Running test notify-by-pspec-handled 1106s # Executing: glib/performance.test 1107s Notify per second: 2094515 1107s Running test property-set 1108s Property set per second: 9742864 1108s Running test property-get 1109s Property get per second: 9707204 1109s Running test refcount 1111s # Executing: glib/performance.test 1111s Million refs+unref per second: 27.46 1111s ok - glib/performance.test 1111s # Running test: glib/utf8-validate.test 1111s TAP version 13 1111s # random seed: R02S210d2f0ce6d577c914cc6126545f8720 1111s 1..216 1111s # Start of utf8 tests 1111s # Vector 0 1111s # Vector 1 1111s # Vector 2 1111s # Vector 3 1111s # Vector 4 1111s # Vector 5 1111s # Vector 6 1111s # Vector 7 1111s # Vector 8 1111s # Vector 9 1111s # Vector 10 1111s # Vector 11 1111s # Vector 12 1111s # Vector 13 1111s # Vector 14 1111s # Vector 15 1111s # Vector 16 1111s # Vector 17 1111s # Vector 18 1111s # Vector 19 1111s # Vector 20 1111s # Vector 21 1111s # Vector 22 1111s # Vector 23 1111s # Vector 24 1111s # Vector 25 1111s # Vector 26 1111s # Vector 27 1111s ok 1 /utf8/get-char-validated 1111s # Start of validate tests 1111s ok 2 /utf8/validate/0 1111s ok 3 /utf8/validate/1 1111s ok 4 /utf8/validate/2 1111s ok 5 /utf8/validate/3 1111s ok 6 /utf8/validate/4 1111s ok 7 /utf8/validate/5 1111s ok 8 /utf8/validate/6 1111s ok 9 /utf8/validate/7 1111s ok 10 /utf8/validate/8 1111s ok 11 /utf8/validate/9 1111s ok 12 /utf8/validate/10 1111s ok 13 /utf8/validate/11 1111s ok 14 /utf8/validate/12 1111s ok 15 /utf8/validate/13 1111s ok 16 /utf8/validate/14 1111s ok 17 /utf8/validate/15 1111s ok 18 /utf8/validate/16 1111s ok 19 /utf8/validate/17 1111s ok 20 /utf8/validate/18 1111s ok 21 /utf8/validate/19 1111s ok 22 /utf8/validate/20 1111s ok 23 /utf8/validate/21 1111s ok 24 /utf8/validate/22 1111s ok 25 /utf8/validate/23 1111s ok 26 /utf8/validate/24 1111s ok 27 /utf8/validate/25 1111s ok 28 /utf8/validate/26 1111s ok 29 /utf8/validate/27 1111s ok 30 /utf8/validate/28 1111s ok 31 /utf8/validate/29 1111s ok 32 /utf8/validate/30 1111s ok 33 /utf8/validate/31 1111s ok 34 /utf8/validate/32 1111s ok 35 /utf8/validate/33 1111s ok 36 /utf8/validate/34 1111s ok 37 /utf8/validate/35 1111s ok 38 /utf8/validate/36 1111s ok 39 /utf8/validate/37 1111s ok 40 /utf8/validate/38 1111s ok 41 /utf8/validate/39 1111s ok 42 /utf8/validate/40 1111s ok 43 /utf8/validate/41 1111s ok 44 /utf8/validate/42 1111s ok 45 /utf8/validate/43 1111s ok 46 /utf8/validate/44 1111s ok 47 /utf8/validate/45 1111s ok 48 /utf8/validate/46 1111s ok 49 /utf8/validate/47 1111s ok 50 /utf8/validate/48 1111s ok 51 /utf8/validate/49 1111s ok 52 /utf8/validate/50 1111s ok 53 /utf8/validate/51 1111s ok 54 /utf8/validate/52 1111s ok 55 /utf8/validate/53 1111s ok 56 /utf8/validate/54 1111s ok 57 /utf8/validate/55 1111s ok 58 /utf8/validate/56 1111s ok 59 /utf8/validate/57 1111s ok 60 /utf8/validate/58 1111s ok 61 /utf8/validate/59 1111s ok 62 /utf8/validate/60 1111s ok 63 /utf8/validate/61 1111s ok 64 /utf8/validate/62 1111s ok 65 /utf8/validate/63 1111s ok 66 /utf8/validate/64 1111s ok 67 /utf8/validate/65 1111s ok 68 /utf8/validate/66 1111s ok 69 /utf8/validate/67 1111s ok 70 /utf8/validate/68 1111s ok 71 /utf8/validate/69 1111s ok 72 /utf8/validate/70 1111s ok 73 /utf8/validate/71 1111s ok 74 /utf8/validate/72 1111s ok 75 /utf8/validate/73 1111s ok 76 /utf8/validate/74 1111s ok 77 /utf8/validate/75 1111s ok 78 /utf8/validate/76 1111s ok 79 /utf8/validate/77 1111s ok 80 /utf8/validate/78 1111s ok 81 /utf8/validate/79 1111s ok 82 /utf8/validate/80 1111s ok 83 /utf8/validate/81 1111s ok 84 /utf8/validate/82 1111s ok 85 /utf8/validate/83 1111s ok 86 /utf8/validate/84 1111s ok 87 /utf8/validate/85 1111s ok 88 /utf8/validate/86 1111s ok 89 /utf8/validate/87 1111s ok 90 /utf8/validate/88 1111s ok 91 /utf8/validate/89 1111s ok 92 /utf8/validate/90 1111s ok 93 /utf8/validate/91 1111s ok 94 /utf8/validate/92 1111s ok 95 /utf8/validate/93 1111s ok 96 /utf8/validate/94 1111s ok 97 /utf8/validate/95 1111s ok 98 /utf8/validate/96 1111s ok 99 /utf8/validate/97 1111s ok 100 /utf8/validate/98 1111s ok 101 /utf8/validate/99 1111s ok 102 /utf8/validate/100 1111s ok 103 /utf8/validate/101 1111s ok 104 /utf8/validate/102 1111s ok 105 /utf8/validate/103 1111s ok 106 /utf8/validate/104 1111s ok 107 /utf8/validate/105 1111s ok 108 /utf8/validate/106 1111s ok 109 /utf8/validate/107 1111s ok 110 /utf8/validate/108 1111s ok 111 /utf8/validate/109 1111s ok 112 /utf8/validate/110 1111s ok 113 /utf8/validate/111 1111s ok 114 /utf8/validate/112 1111s ok 115 /utf8/validate/113 1111s ok 116 /utf8/validate/114 1111s ok 117 /utf8/validate/115 1111s ok 118 /utf8/validate/116 1111s ok 119 /utf8/validate/117 1111s ok 120 /utf8/validate/118 1111s ok 121 /utf8/validate/119 1111s ok 122 /utf8/validate/120 1111s ok 123 /utf8/validate/121 1111s ok 124 /utf8/validate/122 1111s ok 125 /utf8/validate/123 1111s ok 126 /utf8/validate/124 1111s ok 127 /utf8/validate/125 1111s ok 128 /utf8/validate/126 1111s ok 129 /utf8/validate/127 1111s ok 130 /utf8/validate/128 1111s ok 131 /utf8/validate/129 1111s ok 132 /utf8/validate/130 1111s ok 133 /utf8/validate/131 1111s ok 134 /utf8/validate/132 1111s ok 135 /utf8/validate/133 1111s ok 136 /utf8/validate/134 1111s ok 137 /utf8/validate/135 1111s ok 138 /utf8/validate/136 1111s ok 139 /utf8/validate/137 1111s ok 140 /utf8/validate/138 1111s ok 141 /utf8/validate/139 1111s ok 142 /utf8/validate/140 1111s ok 143 /utf8/validate/141 1111s ok 144 /utf8/validate/142 1111s ok 145 /utf8/validate/143 1111s ok 146 /utf8/validate/144 1111s ok 147 /utf8/validate/145 1111s ok 148 /utf8/validate/146 1111s ok 149 /utf8/validate/147 1111s ok 150 /utf8/validate/148 1111s ok 151 /utf8/validate/149 1111s ok 152 /utf8/validate/150 1111s ok 153 /utf8/validate/151 1111s ok 154 /utf8/validate/152 1111s ok 155 /utf8/validate/153 1111s ok 156 /utf8/validate/154 1111s ok 157 /utf8/validate/155 1111s ok 158 /utf8/validate/156 1111s ok 159 /utf8/validate/157 1111s ok 160 /utf8/validate/158 1111s ok 161 /utf8/validate/159 1111s ok 162 /utf8/validate/160 1111s ok 163 /utf8/validate/161 1111s ok 164 /utf8/validate/162 1111s ok 165 /utf8/validate/163 1111s ok 166 /utf8/validate/164 1111s ok 167 /utf8/validate/165 1111s ok 168 /utf8/validate/166 1111s ok 169 /utf8/validate/167 1111s ok 170 /utf8/validate/168 1111s ok 171 /utf8/validate/169 1111s ok 172 /utf8/validate/170 1111s ok 173 /utf8/validate/171 1111s ok 174 /utf8/validate/172 1111s ok 175 /utf8/validate/173 1111s ok 176 /utf8/validate/174 1111s ok 177 /utf8/validate/175 1111s ok 178 /utf8/validate/176 1111s ok 179 /utf8/validate/177 1111s ok 180 /utf8/validate/178 1111s ok 181 /utf8/validate/179 1111s ok 182 /utf8/validate/180 1111s ok 183 /utf8/validate/181 1111s ok 184 /utf8/validate/182 1111s ok 185 /utf8/validate/183 1111s ok 186 /utf8/validate/184 1111s ok 187 /utf8/validate/185 1111s ok 188 /utf8/validate/186 1111s ok 189 /utf8/validate/187 1111s ok 190 /utf8/validate/188 1111s ok 191 /utf8/validate/189 1111s ok 192 /utf8/validate/190 1111s ok 193 /utf8/validate/191 1111s ok 194 /utf8/validate/192 1111s ok 195 /utf8/validate/193 1111s ok 196 /utf8/validate/194 1111s ok 197 /utf8/validate/195 1111s ok 198 /utf8/validate/196 1111s ok 199 /utf8/validate/197 1111s ok 200 /utf8/validate/198 1111s ok 201 /utf8/validate/199 1111s ok 202 /utf8/validate/200 1111s ok 203 /utf8/validate/201 1111s ok 204 /utf8/validate/202 1111s ok 205 /utf8/validate/203 1111s ok 206 /utf8/validate/204 1111s ok 207 /utf8/validate/205 1111s ok 208 /utf8/validate/206 1111s ok 209 /utf8/validate/207 1111s ok 210 /utf8/validate/208 1111s ok 211 /utf8/validate/209 1111s ok 212 /utf8/validate/210 1111s ok 213 /utf8/validate/211 1111s ok 214 /utf8/validate/212 1111s ok 215 /utf8/validate/213 1111s ok 216 /utf8/validate/214 1111s # End of validate tests 1111s # End of utf8 tests 1111s ok - glib/utf8-validate.test 1111s # Running test: glib/mainloop.test 1111s TAP version 13 1111s # random seed: R02Sb4ca2de496f3c1c0221a645e210b9d97 1111s 1..45 1111s # Start of maincontext tests 1111s ok 1 /maincontext/basic 1111s # Add same-priority sources: 13 1111s # Find each source: 2 1111s # Remove in random order: 31 1111s ok 2 /maincontext/nsources_same_priority 1111s # Add different-priority sources: 13 1111s # Find each source: 2 1111s # Remove in random order: 36 1111s ok 3 /maincontext/nsources_different_priority 1111s # Add sources from threads: 114 1112s # Remove sources from threads: 36 1112s ok 4 /maincontext/nsources_threadpool 1112s ok 5 /maincontext/source_finalization 1112s # /maincontext/idle-once summary: Test g_idle_add_once() works 1112s ok 6 /maincontext/idle-once 1112s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1112s ok 7 /maincontext/timeout-once 1112s # Start of source_finalization_from_source tests 1112s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 8 /maincontext/source_finalization_from_source/0 1112s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 9 /maincontext/source_finalization_from_source/1 1112s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 10 /maincontext/source_finalization_from_source/2 1112s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 11 /maincontext/source_finalization_from_source/3 1112s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 12 /maincontext/source_finalization_from_source/4 1112s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 13 /maincontext/source_finalization_from_source/5 1112s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 14 /maincontext/source_finalization_from_source/6 1112s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 15 /maincontext/source_finalization_from_source/7 1112s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 16 /maincontext/source_finalization_from_source/8 1112s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1112s ok 17 /maincontext/source_finalization_from_source/9 1112s # End of source_finalization_from_source tests 1112s # Start of source_finalization_from_dispatch tests 1112s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1112s ok 18 /maincontext/source_finalization_from_dispatch/0 1112s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1112s ok 19 /maincontext/source_finalization_from_dispatch/1 1112s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1112s ok 20 /maincontext/source_finalization_from_dispatch/2 1112s # End of source_finalization_from_dispatch tests 1112s # End of maincontext tests 1112s # Start of mainloop tests 1112s ok 21 /mainloop/basic 1112s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1112s ok 23 /mainloop/priorities 1112s ok 24 /mainloop/invoke 1112s # slow test /mainloop/invoke executed in 0.50 secs 1113s ok 25 /mainloop/child_sources 1113s # slow test /mainloop/child_sources executed in 1.18 secs 1115s ok 26 /mainloop/recursive_child_sources 1115s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1115s ok 27 /mainloop/recursive_loop_child_sources 1115s ok 28 /mainloop/swapping_child_sources 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1115s ok 29 /mainloop/blocked_child_sources 1116s # Executing: glib/mainloop.test 1116s ok 30 /mainloop/source_time 1116s # slow test /mainloop/source_time executed in 1.00 secs 1116s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1116s ok 31 /mainloop/overflow 1117s ok 32 /mainloop/ready-time 1117s # slow test /mainloop/ready-time executed in 0.50 secs 1117s ok 33 /mainloop/wakeup 1117s ok 34 /mainloop/remove-invalid 1117s ok 35 /mainloop/unref-while-pending 1117s ok 36 /mainloop/unix-fd 1117s # slow test /mainloop/unix-fd executed in 0.53 secs 1117s ok 37 /mainloop/unix-fd-source 1117s ok 38 /mainloop/source-unix-fd-api 1118s ok 39 /mainloop/wait 1118s ok 40 /mainloop/unix-file-poll 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1118s ok 41 /mainloop/unix-fd-priority 1118s ok 42 /mainloop/nfds 1118s ok 43 /mainloop/steal-fd 1118s # Start of ownerless-polling tests 1118s ok 44 /mainloop/ownerless-polling/attach-first 1118s ok 45 /mainloop/ownerless-polling/pop-first 1118s # End of ownerless-polling tests 1118s # End of mainloop tests 1118s ok - glib/mainloop.test 1118s # Running test: glib/file.test 1118s TAP version 13 1118s # random seed: R02S65217dc63ef0f638e78a6aafe58e5c6b 1118s 1..50 1118s # Start of file tests 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/basic/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/basic/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/basic/.dirs/system-config1:/tmp/test_file_B0TDK2/file/basic/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/basic/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/basic/.dirs/system-data1:/tmp/test_file_B0TDK2/file/basic/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/basic/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/basic/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/basic/.dirs/runtime 1118s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1118s ok 1 /file/basic 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/build-filename/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/build-filename/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/build-filename/.dirs/system-config1:/tmp/test_file_B0TDK2/file/build-filename/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/build-filename/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/build-filename/.dirs/system-data1:/tmp/test_file_B0TDK2/file/build-filename/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/build-filename/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/build-filename/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/build-filename/.dirs/runtime 1118s ok 2 /file/build-filename 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_B0TDK2/file/build-filenamev/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_B0TDK2/file/build-filenamev/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/build-filenamev/.dirs/runtime 1118s ok 3 /file/build-filenamev 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/parent/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/parent/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/parent/.dirs/system-config1:/tmp/test_file_B0TDK2/file/parent/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/parent/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/parent/.dirs/system-data1:/tmp/test_file_B0TDK2/file/parent/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/parent/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/parent/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/parent/.dirs/runtime 1118s ok 4 /file/parent 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/child/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/child/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/child/.dirs/system-config1:/tmp/test_file_B0TDK2/file/child/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/child/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/child/.dirs/system-data1:/tmp/test_file_B0TDK2/file/child/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/child/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/child/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/child/.dirs/runtime 1118s ok 5 /file/child 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/empty-path/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/empty-path/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/empty-path/.dirs/system-config1:/tmp/test_file_B0TDK2/file/empty-path/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/empty-path/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/empty-path/.dirs/system-data1:/tmp/test_file_B0TDK2/file/empty-path/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/empty-path/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/empty-path/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/empty-path/.dirs/runtime 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1118s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1118s ok 6 /file/empty-path 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/type/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/type/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/type/.dirs/system-config1:/tmp/test_file_B0TDK2/file/type/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/type/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/type/.dirs/system-data1:/tmp/test_file_B0TDK2/file/type/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/type/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/type/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/type/.dirs/runtime 1118s ok 7 /file/type 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/parse-name/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/parse-name/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/parse-name/.dirs/system-config1:/tmp/test_file_B0TDK2/file/parse-name/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/parse-name/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/parse-name/.dirs/system-data1:/tmp/test_file_B0TDK2/file/parse-name/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/parse-name/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/parse-name/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/parse-name/.dirs/runtime 1118s ok 8 /file/parse-name 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/replace-load/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/replace-load/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/replace-load/.dirs/system-config1:/tmp/test_file_B0TDK2/file/replace-load/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/replace-load/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/replace-load/.dirs/system-data1:/tmp/test_file_B0TDK2/file/replace-load/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/replace-load/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/replace-load/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/replace-load/.dirs/runtime 1118s ok 9 /file/replace-load 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_B0TDK2/file/replace-cancel/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_B0TDK2/file/replace-cancel/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/replace-cancel/.dirs/runtime 1118s # Bug Reference: https://bugzilla.gnome.org/629301 1118s ok 10 /file/replace-cancel 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_B0TDK2/file/replace-symlink/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_B0TDK2/file/replace-symlink/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/replace-symlink/.dirs/runtime 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1118s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1118s # Using temporary directory /tmp/test_file_B0TDK2/g_file_replace_symlink_I6UCK2 1118s ok 11 /file/replace-symlink 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-new-tmp/.dirs/runtime 1118s ok 12 /file/async-new-tmp 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-new-tmp-dir/.dirs/runtime 1118s ok 13 /file/async-new-tmp-dir 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-delete/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-delete/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-delete/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-delete/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-delete/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-delete/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-delete/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-delete/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-delete/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-delete/.dirs/runtime 1118s ok 14 /file/async-delete 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-make-symlink/.dirs/runtime 1118s ok 15 /file/async-make-symlink 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/copy-preserve-mode/.dirs/runtime 1118s # Current umask: 2 1118s # Vector 0 1118s # Vector 1 1118s # Vector 2 1118s # Vector 3 1118s # Vector 4 1118s # Vector 5 1118s # Vector 6 1118s # Vector 7 1118s # Vector 8 1118s # Vector 9 1118s # Vector 10 1118s ok 16 /file/copy-preserve-mode 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/measure/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/measure/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/measure/.dirs/system-config1:/tmp/test_file_B0TDK2/file/measure/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/measure/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/measure/.dirs/system-data1:/tmp/test_file_B0TDK2/file/measure/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/measure/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/measure/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/measure/.dirs/runtime 1118s ok 17 /file/measure 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/measure-async/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/measure-async/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/measure-async/.dirs/system-config1:/tmp/test_file_B0TDK2/file/measure-async/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/measure-async/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/measure-async/.dirs/system-data1:/tmp/test_file_B0TDK2/file/measure-async/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/measure-async/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/measure-async/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/measure-async/.dirs/runtime 1118s ok 18 /file/measure-async 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_B0TDK2/file/load-bytes/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_B0TDK2/file/load-bytes/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/load-bytes/.dirs/runtime 1118s ok 19 /file/load-bytes 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/load-bytes-async/.dirs/runtime 1118s ok 20 /file/load-bytes-async 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/.dirs/runtime 1118s ok 21 /file/writev 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/build-attribute-list-for-copy/.dirs/runtime 1118s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1118s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1118s # 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::* 1118s # 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::* 1118s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1118s # Attributes for copy: standard::size,xattr::* 1118s # Attributes for copy: standard::size,unix::mode,xattr::* 1118s ok 22 /file/build-attribute-list-for-copy 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/move_async/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/move_async/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/move_async/.dirs/system-config1:/tmp/test_file_B0TDK2/file/move_async/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/move_async/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/move_async/.dirs/system-data1:/tmp/test_file_B0TDK2/file/move_async/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/move_async/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/move_async/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/move_async/.dirs/runtime 1118s ok 23 /file/move_async 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/query-zero-length-content-type/.dirs/runtime 1118s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1118s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1118s ok 24 /file/query-zero-length-content-type 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/runtime 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/data/applications 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/config 1118s ok 25 /file/query-default-handler-file 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/runtime 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/data/applications 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/config 1118s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_B0TDK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/config 1118s ok 26 /file/query-default-handler-file-async 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/runtime 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/data/applications 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/config 1118s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_B0TDK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/config 1118s ok 27 /file/query-default-handler-uri 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/runtime 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/data/applications 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/config 1118s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_B0TDK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/config 1118s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_B0TDK2/file/query-default-handler-uri-async/.dirs/config 1118s ok 28 /file/query-default-handler-uri-async 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/enumerator-cancellation/.dirs/runtime 1118s ok 29 /file/enumerator-cancellation 1118s # Start of async-create-delete tests 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-create-delete/0/.dirs/runtime 1118s ok 30 /file/async-create-delete/0 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-create-delete/1/.dirs/runtime 1118s ok 31 /file/async-create-delete/1 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-create-delete/10/.dirs/runtime 1118s ok 32 /file/async-create-delete/10 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-create-delete/25/.dirs/runtime 1118s ok 33 /file/async-create-delete/25 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/async-create-delete/4096/.dirs/runtime 1118s ok 34 /file/async-create-delete/4096 1118s # End of async-create-delete tests 1118s # Start of replace-symlink tests 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/replace-symlink/using-etag/.dirs/runtime 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1118s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1118s # Using temporary directory /tmp/test_file_B0TDK2/g_file_replace_symlink_using_etag_BZ13J2 1120s ok 35 /file/replace-symlink/using-etag 1120s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1120s # End of replace-symlink tests 1120s # Start of replace tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_B0TDK2/file/replace/write-only/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_B0TDK2/file/replace/write-only/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/replace/write-only/.dirs/runtime 1120s # /file/replace/write-only summary: Test various situations for g_file_replace() 1120s # Current umask: 2 1120s # Test 0, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_XR73J2 1120s # Test 1, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_KQ73J2 1120s # Test 2, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_YA83J2 1120s # Test 3, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_TX32J2 1120s # Test 4, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_DR32J2 1120s # Test 5, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_QI32J2 1120s # Test 6, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_KNY2J2 1120s # Test 7, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_RP82J2 1120s # Test 8, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_KE82J2 1120s # Test 9, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_EA82J2 1120s # Test 10, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_VD92J2 1120s # Test 11, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_9N62J2 1120s # Test 12, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_JE62J2 1120s # Test 13, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_Y652J2 1120s # Test 14, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_93F3J2 1120s # Test 15, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_4LB3J2 1120s # Test 16, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_QJC3J2 1120s # Test 17, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_RLM3J2 1120s # Test 18, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_Q3G3J2 1120s # Test 19, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_4TC2J2 1120s # Test 20, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_A6D2J2 1120s # Test 21, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_Z481J2 1120s # Test 22, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_9GJ2J2 1120s # Test 23, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_KFJ2J2 1120s # Test 24, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_55J2J2 1120s # Test 25, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_N9G2J2 1120s # Test 26, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_O2G2J2 1120s # Test 27, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_QTG2J2 1120s # Test 28, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_WXO2J2 1120s # Test 29, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_NTM2J2 1120s # Test 30, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_DHM2J2 1120s # Test 31, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_FGM2J2 1120s # Test 32, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_PMN2J2 1120s # Test 33, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_DVX2J2 1120s # Test 34, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_9RX2J2 1120s # Test 35, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_MJX2J2 1120s # Test 36, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_K2R2J2 1120s # Test 37, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_SYT2J2 1120s # Test 38, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_IPP1J2 1120s # Test 39, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_E6J1J2 1120s # Test 40, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_OKU1J2 1120s # Test 41, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_8JV1J2 1120s # Test 42, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_I6Q1J2 1120s # Test 43, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_K8R1J2 1120s # Test 44, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_H611J2 1120s # Test 45, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_V411J2 1120s # Test 46, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_9WW1J2 1120s # Test 47, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_OVW1J2 1120s # Test 48, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_BY61J2 1120s # We do not have CAP_DAC_OVERRIDE or equivalent 1120s ok 36 /file/replace/write-only 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_B0TDK2/file/replace/read-write/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_B0TDK2/file/replace/read-write/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/replace/read-write/.dirs/runtime 1120s # /file/replace/read-write summary: Test various situations for g_file_replace() 1120s # Current umask: 2 1120s # Test 0, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_IJ61J2 1120s # Test 1, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_FF61J2 1120s # Test 2, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_IF71J2 1120s # Test 3, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_IJ51J2 1120s # Test 4, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_ZC51J2 1120s # Test 5, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_IB51J2 1120s # Test 6, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_W4X0J2 1120s # Test 7, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_N8Y0J2 1120s # Test 8, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_LVV0J2 1120s # Test 9, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_5QV0J2 1120s # Test 10, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_5740J2 1120s # Test 11, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_N350J2 1120s # Test 12, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_JY50J2 1120s # Test 13, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_AP50J2 1120s # Test 14, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_BD10J2 1120s # Test 15, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_MT20J2 1120s # Test 16, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_L8C1J2 1120s # Test 17, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_2Z70J2 1120s # Test 18, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_IS80J2 1120s # Test 19, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_LGJ1J2 1120s # Test 20, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_RBE1J2 1120s # Test 21, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_EIF1J2 1120s # Test 22, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_0D8ZJ2 1120s # Test 23, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_WAB0J2 1120s # Test 24, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_4Q5ZJ2 1120s # Test 25, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_UE7ZJ2 1120s # Test 26, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_576ZJ2 1120s # Test 27, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_FZ6ZJ2 1120s # Test 28, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_SHH0J2 1120s # Test 29, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_S2B0J2 1120s # Test 30, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_AVB0J2 1120s # Test 31, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_ENB0J2 1120s # Test 32, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_2UL0J2 1120s # Test 33, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_J7I0J2 1120s # Test 34, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_J0I0J2 1120s # Test 35, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_KRI0J2 1120s # Test 36, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_YUK0J2 1120s # Test 37, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_CZR0J2 1120s # Test 38, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_QKP0J2 1120s # Test 39, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_Y7P0J2 1120s # Test 40, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_38IZJ2 1120s # Test 41, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_85KZJ2 1120s # Test 42, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_Z8FZJ2 1120s # Test 43, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_CMQZJ2 1120s # Test 44, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_UNRZJ2 1120s # Test 45, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_4ERZJ2 1120s # Test 46, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_C9OZJ2 1120s # Test 47, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_R7OZJ2 1120s # Test 48, using temporary directory /tmp/test_file_B0TDK2/g_file_replace_J4NZJ2 1120s # We do not have CAP_DAC_OVERRIDE or equivalent 1120s ok 37 /file/replace/read-write 1120s # End of replace tests 1120s # Start of copy tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_B0TDK2/file/copy/progress/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_B0TDK2/file/copy/progress/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/copy/progress/.dirs/runtime 1120s ok 38 /file/copy/progress 1120s # End of copy tests 1120s # Start of writev tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/no-bytes-written/.dirs/runtime 1120s ok 39 /file/writev/no-bytes-written 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/no-vectors/.dirs/runtime 1120s ok 40 /file/writev/no-vectors 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/empty-vectors/.dirs/runtime 1120s ok 41 /file/writev/empty-vectors 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/too-big-vectors/.dirs/runtime 1120s ok 42 /file/writev/too-big-vectors 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/async/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/async/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/async/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/async/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/async/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/async/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/async/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/async/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/async/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/async/.dirs/runtime 1120s ok 43 /file/writev/async 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/async_all/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/async_all/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/async_all/.dirs/runtime 1120s ok 44 /file/writev/async_all 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/async_all-empty-vectors/.dirs/runtime 1120s ok 45 /file/writev/async_all-empty-vectors 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/async_all-no-vectors/.dirs/runtime 1120s ok 46 /file/writev/async_all-no-vectors 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1120s ok 47 /file/writev/async_all-to-big-vectors 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/writev/async_all-cancellation/.dirs/runtime 1120s ok 48 /file/writev/async_all-cancellation 1120s # End of writev tests 1120s # Start of from-uri tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/from-uri/ignores-query-string/.dirs/runtime 1120s ok 49 /file/from-uri/ignores-query-string 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_B0TDK2/file/from-uri/ignores-fragment/.dirs/runtime 1120s ok 50 /file/from-uri/ignores-fragment 1120s # End of from-uri tests 1120s # End of file tests 1120s ok - glib/file.test 1120s # Running test: glib/autoptr-girepository.test 1120s TAP version 13 1120s # random seed: R02S0f26d1df197c6082d54a6b71e686281e 1120s 1..24 1120s # Start of autoptr tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/repository/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 1 /autoptr/repository 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/typelib/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 2 /autoptr/typelib 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/base-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 3 /autoptr/base-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/arg-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 4 /autoptr/arg-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callable-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 5 /autoptr/callable-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/callback-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 6 /autoptr/callback-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/constant-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 7 /autoptr/constant-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/enum-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 8 /autoptr/enum-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/field-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 9 /autoptr/field-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/flags-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 10 /autoptr/flags-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/function-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 11 /autoptr/function-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/interface-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 12 /autoptr/interface-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/object-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 13 /autoptr/object-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/property-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 14 /autoptr/property-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/registered-type-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 15 /autoptr/registered-type-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/signal-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 16 /autoptr/signal-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/struct-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 17 /autoptr/struct-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/type-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 18 /autoptr/type-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/union-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 19 /autoptr/union-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/value-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 20 /autoptr/value-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/autoptr/vfunc-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 21 /autoptr/vfunc-info 1120s # End of autoptr tests 1120s # Start of auto tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/auto/arg-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 22 /auto/arg-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/auto/type-info/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 23 /auto/type-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LOZZJ2/auto/function-invoker/.dirs/runtime 1120s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1120s ok 24 /auto/function-invoker 1120s # End of auto tests 1120s ok - glib/autoptr-girepository.test 1120s # Running test: glib/resolver-parsing.test 1120s TAP version 13 1120s # random seed: R02S157ed5e7a09b96f3b896f311b91ae87d 1120s 1..20 1120s # Start of gresolver tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/invalid-header/.dirs/runtime 1120s ok 1 /gresolver/invalid-header 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/unknown-record-type/.dirs/runtime 1120s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1120s ok 2 /gresolver/unknown-record-type 1120s # Start of mx tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/valid/.dirs/runtime 1120s ok 3 /gresolver/mx/valid 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/.dirs/runtime 1120s ok 4 /gresolver/mx/invalid 1120s # Start of invalid tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short/.dirs/runtime 1120s ok 5 /gresolver/mx/invalid/too-short 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/mx/invalid/too-short2/.dirs/runtime 1120s ok 6 /gresolver/mx/invalid/too-short2 1120s # End of invalid tests 1120s # End of mx tests 1120s # Start of ns tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/valid/.dirs/runtime 1120s ok 7 /gresolver/ns/valid 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/ns/invalid/.dirs/runtime 1120s ok 8 /gresolver/ns/invalid 1120s # End of ns tests 1120s # Start of soa tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/valid/.dirs/runtime 1120s ok 9 /gresolver/soa/valid 1120s # Start of invalid tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/mname/.dirs/runtime 1120s ok 10 /gresolver/soa/invalid/mname 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/rname/.dirs/runtime 1120s ok 11 /gresolver/soa/invalid/rname 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/soa/invalid/too-short/.dirs/runtime 1120s ok 12 /gresolver/soa/invalid/too-short 1120s # End of invalid tests 1120s # End of soa tests 1120s # Start of srv tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/valid/.dirs/runtime 1120s ok 13 /gresolver/srv/valid 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/.dirs/runtime 1120s ok 14 /gresolver/srv/invalid 1120s # Start of invalid tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short/.dirs/runtime 1120s ok 15 /gresolver/srv/invalid/too-short 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/srv/invalid/too-short2/.dirs/runtime 1120s ok 16 /gresolver/srv/invalid/too-short2 1120s # End of invalid tests 1120s # End of srv tests 1120s # Start of txt tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/.dirs/runtime 1120s ok 17 /gresolver/txt/valid 1120s # Start of valid tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1120s ok 18 /gresolver/txt/valid/multiple-strings 1120s # End of valid tests 1120s # Start of invalid tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/empty/.dirs/runtime 1120s ok 19 /gresolver/txt/invalid/empty 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CM4YJ2/gresolver/txt/invalid/overflow/.dirs/runtime 1120s ok 20 /gresolver/txt/invalid/overflow 1120s # End of invalid tests 1120s # End of txt tests 1120s # End of gresolver tests 1120s ok - glib/resolver-parsing.test 1120s # Running test: glib/application-command-line.test 1120s TAP version 13 1120s # random seed: R02Sc9967efec4e7f2f9eace3b0185f5a2cc 1120s 1..1 1120s # Start of application-command-line tests 1120s ok 1 /application-command-line/basic-properties 1120s # End of application-command-line tests 1120s ok - glib/application-command-line.test 1120s # Running test: glib/option-context.test 1120s TAP version 13 1120s # random seed: R02S4e5386d66fe64e31a540b6e5d399fd0a 1120s 1..57 1120s # Start of option tests 1120s ok 1 /option/basic 1120s ok 2 /option/translate 1120s ok 3 /option/strict-posix 1120s # Start of help tests 1120s ok 4 /option/help/options 1120s ok 5 /option/help/no-options 1120s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1120s ok 6 /option/help/no-help-options 1120s # End of help tests 1120s # Start of group tests 1120s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1121s # Executing: glib/option-context.test 1121s ok 7 /option/group/captions 1121s ok 8 /option/group/main 1121s ok 9 /option/group/error-hook 1121s ok 10 /option/group/parse 1121s # Start of captions tests 1121s # Start of subprocess tests 1121s # End of subprocess tests 1121s # End of captions tests 1121s # End of group tests 1121s # Start of restoration tests 1121s ok 11 /option/restoration/int 1121s ok 12 /option/restoration/string 1121s ok 13 /option/restoration/boolean 1121s # End of restoration tests 1121s # Start of arg tests 1121s ok 14 /option/arg/reverse-string 1121s ok 15 /option/arg/optional-int 1121s # Start of repetition tests 1121s ok 16 /option/arg/repetition/int 1121s ok 17 /option/arg/repetition/string 1121s ok 18 /option/arg/repetition/filename 1121s ok 19 /option/arg/repetition/double 1121s ok 20 /option/arg/repetition/locale 1121s ok 21 /option/arg/repetition/int64 1121s # End of repetition tests 1121s # Start of array tests 1121s ok 22 /option/arg/array/string 1121s # End of array tests 1121s # Start of callback tests 1121s ok 23 /option/arg/callback/string 1121s ok 24 /option/arg/callback/count 1121s ok 25 /option/arg/callback/optional1 1121s ok 26 /option/arg/callback/optional2 1121s ok 27 /option/arg/callback/optional3 1121s ok 28 /option/arg/callback/optional4 1121s ok 29 /option/arg/callback/optional5 1121s ok 30 /option/arg/callback/optional6 1121s ok 31 /option/arg/callback/optional7 1121s ok 32 /option/arg/callback/optional8 1121s # End of callback tests 1121s # Start of remaining tests 1121s ok 33 /option/arg/remaining/callback 1121s ok 34 /option/arg/remaining/callback-false 1121s ok 35 /option/arg/remaining/non-option 1121s ok 36 /option/arg/remaining/separator 1121s ok 37 /option/arg/remaining/array 1121s # End of remaining tests 1121s # Start of ignore tests 1121s ok 38 /option/arg/ignore/long 1121s ok 39 /option/arg/ignore/short 1121s ok 40 /option/arg/ignore/arg 1121s # End of ignore tests 1121s # Start of rest tests 1121s ok 41 /option/arg/rest/non-option 1121s ok 42 /option/arg/rest/separator1 1121s ok 43 /option/arg/rest/separator2 1121s ok 44 /option/arg/rest/separator3 1121s ok 45 /option/arg/rest/separator4 1121s ok 46 /option/arg/rest/separator5 1121s # End of rest tests 1121s # End of arg tests 1121s # Start of context tests 1121s ok 47 /option/context/add 1121s ok 48 /option/context/empty2 1121s ok 49 /option/context/empty3 1121s # End of context tests 1121s # Start of bug tests 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1121s ok 50 /option/bug/unknown-short 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1121s ok 51 /option/bug/lonely-dash 1121s ok 52 /option/bug/triple-dash 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1121s ok 53 /option/bug/missing-arg 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1121s ok 54 /option/bug/dash-arg 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1121s ok 55 /option/bug/short-remaining 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1121s ok 56 /option/bug/double-free 1121s ok 57 /option/bug/double-zero 1121s # End of bug tests 1121s # End of option tests 1121s ok - glib/option-context.test 1121s # Running test: glib/cxx-17.test 1121s TAP version 13 1121s # random seed: R02S937cc5184a91bbdd86cc81c444f60c5a 1121s 1..2 1121s # Start of gtask tests 1121s # 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. 1121s ok 1 /gtask/name 1121s # Start of name tests 1121s # 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. 1121s ok 2 /gtask/name/macro-wrapper 1121s # End of name tests 1121s # End of gtask tests 1121s ok - glib/cxx-17.test 1121s # Running test: glib/markup-subparser.test 1121s TAP version 13 1121s # random seed: R02S46139f0bc38956d4ef0cd336d7f7909a 1121s 1..14 1121s # Start of glib tests 1121s # Start of markup tests 1121s # Start of subparser tests 1121s # Start of success tests 1121s ok 1 /glib/markup/subparser/success/0 1121s ok 2 /glib/markup/subparser/success/1 1121s ok 3 /glib/markup/subparser/success/2 1121s ok 4 /glib/markup/subparser/success/3 1121s ok 5 /glib/markup/subparser/success/4 1121s ok 6 /glib/markup/subparser/success/5 1121s ok 7 /glib/markup/subparser/success/6 1121s # End of success tests 1121s # Start of failure tests 1121s ok 8 /glib/markup/subparser/failure/0 1121s ok 9 /glib/markup/subparser/failure/1 1121s ok 10 /glib/markup/subparser/failure/2 1121s ok 11 /glib/markup/subparser/failure/3 1121s ok 12 /glib/markup/subparser/failure/4 1121s ok 13 /glib/markup/subparser/failure/5 1121s ok 14 /glib/markup/subparser/failure/6 1121s # End of failure tests 1121s # End of subparser tests 1121s # End of markup tests 1121s # End of glib tests 1121s ok - glib/markup-subparser.test 1121s # Running test: glib/gdbus-peer.test 1121s TAP version 13 1121s # random seed: R02S59aa29ca5101a75705d542f8d6a7e192 1121s 1..12 1121s # Start of gdbus tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/.dirs/runtime 1121s # Testing with unix:dir address 1121s # Testing with unix:tmpdir address 1121s # Testing with unix:path address 1121s ok 1 /gdbus/peer-to-peer 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/delayed-message-processing/.dirs/runtime 1121s # Testing with unix:dir address 1121s ok 2 /gdbus/delayed-message-processing 1121s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/nonce-tcp/.dirs/runtime 1121s ok 3 /gdbus/nonce-tcp 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/tcp-anonymous/.dirs/runtime 1121s ok 4 /gdbus/tcp-anonymous 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/credentials/.dirs/runtime 1121s ok 5 /gdbus/credentials 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1121s # Testing with unix:dir address 1121s # Machine ID: 3c7b5be4ad1c499d8c431658d7d2c63b 1122s ok 6 /gdbus/codegen-peer-to-peer 1122s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1122s # Start of peer-to-peer tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/signals/.dirs/runtime 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1122s # Testing with unix:dir address 1122s ok 7 /gdbus/peer-to-peer/signals 1122s # Start of invalid tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1122s ok 8 /gdbus/peer-to-peer/invalid/server 1122s # Start of conn tests 1122s # Start of stream tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1122s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1122s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1122s # End of stream tests 1122s # Start of addr tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1122s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4X8FK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1122s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1122s # End of addr tests 1122s # End of conn tests 1122s # End of invalid tests 1122s # End of peer-to-peer tests 1122s # End of gdbus tests 1122s ok - glib/gdbus-peer.test 1122s # Running test: glib/mem-overflow.test 1122s TAP version 13 1122s # random seed: R02S89817202f706e3d887adf574b7c8b9bf 1122s 1..2 1122s # Start of mem tests 1122s ok 1 /mem/overflow 1122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1122s ok 2 /mem/empty-alloc 1122s # Start of overflow tests 1122s # Start of subprocess tests 1122s # End of subprocess tests 1122s # End of overflow tests 1122s # Start of empty-alloc tests 1122s # End of empty-alloc tests 1122s # End of mem tests 1122s ok - glib/mem-overflow.test 1122s # Running test: glib/gobject-private.test 1122s TAP version 13 1122s # random seed: R02Sfdefab1a2b5b1c1fa8018c8e5c9b17c1 1122s 1..3 1122s # Start of private tests 1122s ok 1 /private/instance 1122s ok 2 /private/derived-instance 1122s ok 3 /private/mixed-derived-instance 1122s # End of private tests 1122s ok - glib/gobject-private.test 1122s # Running test: glib/gdbus-close-pending.test 1122s TAP version 13 1122s # random seed: R02S8243f022632a80e1c6ed4fb08e66caa1 1122s 1..2 1122s # Start of gdbus tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/close-pending/.dirs/runtime 1123s ok 1 /gdbus/close-pending 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_R6BZJ2/gdbus/unref-pending/.dirs/runtime 1123s ok 2 /gdbus/unref-pending 1123s # End of gdbus tests 1123s ok - glib/gdbus-close-pending.test 1123s # Running test: glib/bytes.test 1123s TAP version 13 1123s # random seed: R02Se7ff2129d9982848f1f0850ba3a0c774 1123s 1..21 1123s # Start of bytes tests 1123s ok 1 /bytes/new 1123s ok 2 /bytes/new-take 1123s ok 3 /bytes/new-static 1123s ok 4 /bytes/new-with-free-func 1123s ok 5 /bytes/new-from-bytes 1123s ok 6 /bytes/new-from-bytes-slice 1123s ok 7 /bytes/new-from-bytes-shared-ref 1123s ok 8 /bytes/hash 1123s ok 9 /bytes/equal 1123s ok 10 /bytes/compare 1123s ok 11 /bytes/null 1123s ok 12 /bytes/get-region 1123s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1123s ok 13 /bytes/unref-null 1123s # Start of to-data tests 1123s ok 14 /bytes/to-data/transferred 1123s ok 15 /bytes/to-data/two-refs 1123s ok 16 /bytes/to-data/non-malloc 1123s ok 17 /bytes/to-data/different-free-func 1123s # End of to-data tests 1123s # Start of to-array tests 1123s ok 18 /bytes/to-array/transferred 1123s ok 19 /bytes/to-array/two-refs 1123s ok 20 /bytes/to-array/non-malloc 1123s # Start of transferred tests 1123s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1123s ok 21 /bytes/to-array/transferred/oversize 1123s # End of transferred tests 1123s # End of to-array tests 1123s # End of bytes tests 1123s ok - glib/bytes.test 1123s # Running test: glib/unix-mounts.test 1123s TAP version 13 1123s # random seed: R02Sea775c2285abec19fb5e4d1a00eb3dc8 1123s 1..2 1123s # Start of unix-mounts tests 1123s ok 1 /unix-mounts/is-system-fs-type 1123s ok 2 /unix-mounts/is-system-device-path 1123s # End of unix-mounts tests 1123s ok - glib/unix-mounts.test 1123s # Running test: glib/environment.test 1123s TAP version 13 1123s # random seed: R02S402c1a9cc8397921eebea73c1649f217 1123s 1..6 1123s # Start of environ tests 1123s # /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. 1123s ok 1 /environ/listenv 1123s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1123s ok 2 /environ/getenv 1123s ok 3 /environ/setenv 1123s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1123s ok 4 /environ/array 1123s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1123s ok 5 /environ/null 1123s # /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. 1123s ok 6 /environ/case 1123s # End of environ tests 1123s ok - glib/environment.test 1123s # Running test: glib/gdbus-threading.test 1123s TAP version 13 1123s # random seed: R02S767e21fbde46f5cbdae7a79d810451c8 1123s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1123s ok - glib/gdbus-threading.test 1123s # Running test: glib/unix-streams.test 1123s TAP version 13 1123s # random seed: R02S16127cdad514651922b82f199d812c24 1123s 1..9 1123s # Start of unix-streams tests 1123s ok 1 /unix-streams/basic 1124s ok 2 /unix-streams/pipe-io-test 1124s # slow test /unix-streams/pipe-io-test executed in 0.53 secs 1124s ok 3 /unix-streams/nonblocking-io-test 1124s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1124s ok 4 /unix-streams/read_write 1124s ok 5 /unix-streams/read_writev 1124s ok 6 /unix-streams/write-wouldblock 1124s ok 7 /unix-streams/writev-wouldblock 1124s ok 8 /unix-streams/write-async-wouldblock 1124s ok 9 /unix-streams/writev-async-wouldblock 1124s # End of unix-streams tests 1124s ok - glib/unix-streams.test 1124s # Running test: glib/spawn-singlethread.test 1124s TAP version 13 1124s # random seed: R02S2b457029f4b41cf9b34113564f775ae7 1124s 1..9 1124s # Start of gthread tests 1124s ok 1 /gthread/spawn-single-sync 1124s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1124s ok 2 /gthread/spawn-stderr-socket 1124s ok 3 /gthread/spawn-single-async 1124s # thread 1 1124s # thread 1 1124s ok 4 /gthread/spawn-single-async-with-fds 1124s ok 5 /gthread/spawn-async-with-invalid-fds 1124s ok 6 /gthread/spawn-script 1124s ok 7 /gthread/spawn-posix-spawn 1124s # Start of spawn tests 1124s ok 8 /gthread/spawn/nonexistent 1124s # FD map: 1124s # • 5 → 15 1124s # • 6 → 16 1124s # • 7 → 17 1124s # • 8 → 18 1124s # • 9 → 19 1124s # • 10 → 20 1124s # • 11 → 21 1124s # • 12 → 22 1124s # • 13 → 23 1124s # • 3 → 13 1124s ok 9 /gthread/spawn/fd-assignment-clash 1124s # End of spawn tests 1124s # End of gthread tests 1124s ok - glib/spawn-singlethread.test 1124s # Running test: glib/init.test 1124s TAP version 13 1124s # random seed: R02S7be262d9789162b09978bde875773ca6 1124s 1..2 1124s # Start of thread tests 1124s # Start of deprecated tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_XDC6J2/thread/deprecated/init/.dirs/runtime 1124s ok 1 /thread/deprecated/init 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_XDC6J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1124s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1124s # End of deprecated tests 1124s # End of thread tests 1124s ok - glib/init.test 1124s # Running test: glib/memchunk.test 1124s TAP version 13 1124s # random seed: R02Sfadeb1044d836dd3a345db22b148ac10 1124s 1..1 1124s # Start of memchunk tests 1124s ok 1 /memchunk/basic 1124s # End of memchunk tests 1124s ok - glib/memchunk.test 1124s # Running test: glib/dynamictests.test 1124s TAP version 13 1124s # random seed: R02S2a5e4fc753145aad08569bcb624bbc31 1124s 1..2 1124s # Start of GObject tests 1124s ok 1 /GObject/threaded-dynamic-ref-unref-init 1124s ok 2 /GObject/dynamic-interface-properties 1124s # End of GObject tests 1124s ok - glib/dynamictests.test 1124s # Running test: glib/unicode-normalize.test 1124s TAP version 13 1124s # random seed: R02S9fa34129a218fe332ca7cb4de11f95e8 1124s 1..3 1124s # Start of unicode tests 1124s # Processing Part0 # Specific cases 1124s # Processing Part1 # Character by character test 1124s # Processing Part2 # Canonical Order Test 1124s # Processing Part3 # PRI #29 Test 1124s ok 1 /unicode/normalize 1124s # Invalid UTF-8 vector 0 1124s # Invalid UTF-8 vector 1 1124s # Invalid UTF-8 vector 2 1124s # Invalid UTF-8 vector 3 1124s # Invalid UTF-8 vector 4 1124s # Invalid UTF-8 vector 5 1124s # Invalid UTF-8 vector 6 1124s # Invalid UTF-8 vector 7 1124s # Invalid UTF-8 vector 8 1124s # Invalid UTF-8 vector 9 1124s # Invalid UTF-8 vector 10 1124s # Invalid UTF-8 vector 11 1124s # Invalid UTF-8 vector 12 1124s ok 2 /unicode/normalize-invalid 1124s # Start of normalize tests 1124s ok 3 /unicode/normalize/bad-length 1124s # End of normalize tests 1124s # End of unicode tests 1124s ok - glib/unicode-normalize.test 1124s # Running test: glib/base64.test 1124s TAP version 13 1124s # random seed: R02Sead457d64e0850138c848a8d23d994b8 1124s 1..28 1124s # Start of base64 tests 1124s ok 1 /base64/encode 1124s ok 2 /base64/decode 1124s ok 3 /base64/decode-inplace 1124s ok 4 /base64/encode-decode 1124s # Start of full tests 1124s ok 5 /base64/full/1 1124s ok 6 /base64/full/2 1124s ok 7 /base64/full/3 1124s ok 8 /base64/full/4 1124s # End of full tests 1124s # Start of encode tests 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1124s ok 9 /base64/encode/empty 1124s # Start of incremental tests 1124s # Start of small-block tests 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1124s ok 10 /base64/encode/incremental/small-block/1 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1124s ok 11 /base64/encode/incremental/small-block/2 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1124s ok 12 /base64/encode/incremental/small-block/3 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1124s ok 13 /base64/encode/incremental/small-block/4 1124s # End of small-block tests 1124s # End of incremental tests 1124s # End of encode tests 1124s # Start of incremental tests 1124s # Start of nobreak tests 1124s ok 14 /base64/incremental/nobreak/1 1124s ok 15 /base64/incremental/nobreak/2 1124s ok 16 /base64/incremental/nobreak/3 1124s ok 17 /base64/incremental/nobreak/4-a 1124s ok 18 /base64/incremental/nobreak/4-b 1124s ok 19 /base64/incremental/nobreak/4-c 1124s # End of nobreak tests 1124s # Start of break tests 1124s ok 20 /base64/incremental/break/1 1124s ok 21 /base64/incremental/break/2 1124s ok 22 /base64/incremental/break/3 1124s # End of break tests 1124s # Start of smallblock tests 1124s ok 23 /base64/incremental/smallblock/1 1124s ok 24 /base64/incremental/smallblock/2 1124s ok 25 /base64/incremental/smallblock/3 1124s ok 26 /base64/incremental/smallblock/4 1124s # End of smallblock tests 1124s # End of incremental tests 1124s # Start of decode tests 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1124s ok 27 /base64/decode/empty 1124s # End of decode tests 1124s # Start of encode-decode tests 1124s # Vector 0: 1124s # Vector 1: f 1124s # Vector 2: fo 1124s # Vector 3: foo 1124s # Vector 4: foob 1124s # Vector 5: fooba 1124s # Vector 6: foobar 1124s ok 28 /base64/encode-decode/rfc4648 1124s # End of encode-decode tests 1124s # End of base64 tests 1124s ok - glib/base64.test 1124s # Running test: glib/collate.test 1124s TAP version 13 1124s # random seed: R02S9ca221fcc38948eb2ba2502e918a515b 1124s 1..9 1124s # Start of unicode tests 1124s # Start of collate tests 1124s ok 1 /unicode/collate/0 1124s ok 2 /unicode/collate/1 1124s ok 3 /unicode/collate/2 1124s # End of collate tests 1124s # Start of collate-key tests 1124s ok 4 /unicode/collate-key/0 1124s ok 5 /unicode/collate-key/1 1124s ok 6 /unicode/collate-key/2 1124s # End of collate-key tests 1124s # Start of collate-filename tests 1124s ok 7 /unicode/collate-filename/0 1124s ok 8 /unicode/collate-filename/1 1124s ok 9 /unicode/collate-filename/2 1124s # End of collate-filename tests 1124s # End of unicode tests 1124s ok - glib/collate.test 1124s # Running test: glib/mimeapps.test 1124s TAP version 13 1124s # random seed: R02Sb0b7209f5bfa7e40447753d11809bff6 1124s 1..7 1124s # Start of appinfo tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1124s ok 1 /appinfo/all 1124s # Start of mime tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_93IZJ2/appinfo/all/.dirs/config to /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config 1124s ok 2 /appinfo/mime/api 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config 1124s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_93IZJ2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config 1124s ok 3 /appinfo/mime/default 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_93IZJ2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config 1124s ok 4 /appinfo/mime/file 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1124s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_93IZJ2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/config 1124s ok 5 /appinfo/mime/scheme-handler 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_93IZJ2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config 1124s ok 6 /appinfo/mime/default-last-used 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1124s # removing '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1124s # creating '/tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1124s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_93IZJ2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_93IZJ2/appinfo/mime/ignore-nonexisting/.dirs/config 1124s ok 7 /appinfo/mime/ignore-nonexisting 1124s # End of mime tests 1124s # End of appinfo tests 1124s ok - glib/mimeapps.test 1124s # Running test: glib/power-profile-monitor.test 1124s TAP version 13 1124s # random seed: R02Sa144aa564267c08750c28a11c3282168 1124s 1..1 1124s # Start of power-profile-monitor tests 1124s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1124s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1124s ok 1 /power-profile-monitor/default 1124s # End of power-profile-monitor tests 1124s ok - glib/power-profile-monitor.test 1124s # Running test: glib/gdbus-proxy-threads.test 1124s TAP version 13 1124s # random seed: R02S6f16ef73cb4372f39890428f1832bbe3 1124s 1..1 1124s # Start of gdbus tests 1124s # Start of proxy tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_21NXJ2/gdbus/proxy/vs-threads/.dirs/runtime 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1126s # Executing: glib/gdbus-proxy-threads.test 1126s ok 1 /gdbus/proxy/vs-threads 1126s # slow test /gdbus/proxy/vs-threads executed in 1.14 secs 1126s # End of proxy tests 1126s # End of gdbus tests 1126s cleaning up pid 12930 1126s ok - glib/gdbus-proxy-threads.test 1126s # Running test: glib/registered-type-info.test 1126s TAP version 13 1126s # random seed: R02Sa612ff13497943780891a523f97716c9 1126s 1..1 1126s # Start of registered-type-info tests 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_J4TFK2/registered-type-info/boxed/.dirs/runtime 1126s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1126s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1126s # Expecting CClosure to not be boxed 1126s # Expecting TypeCValue to not be boxed 1126s # Expecting InitiallyUnownedClass to not be boxed 1126s # Expecting BookmarkFile to be boxed 1126s # Expecting Closure to be boxed 1126s # Expecting Object to not be boxed 1126s ok 1 /registered-type-info/boxed 1126s # End of registered-type-info tests 1126s ok - glib/registered-type-info.test 1126s # Running test: glib/null-settings-backend.test 1126s TAP version 13 1126s # random seed: R02Sba906cd47fbd0d64f7a9f54e82675ce5 1126s 1..1 1126s # Start of null-settings-backend tests 1126s ok 1 /null-settings-backend/extension-point-registered 1126s # End of null-settings-backend tests 1126s ok - glib/null-settings-backend.test 1126s # Running test: glib/closure-refcount.test 1126s TAP version 13 1126s # random seed: R02S13a7a4e67b21044973d6922db7d8076e 1126s 1..1 1126s # Start of closure tests 1126s # Init 0xbfe87ec361d0 1126s # Yielding from main thread 1126s # Yielding from main thread 1126s # Yielding from thread1 1126s # Yielding from main thread 1126s # Yielding from main thread 1126s # Yielding from main thread 1126s # Yielding from thread2 1126s # Yielding from main thread 1126s # Yielding from main thread 1126s # Yielding from thread1 1126s # Yielding from main thread 1126s # Yielding from main thread 1126s # Yielding from thread1 1126s # Stopping 1126s # Stopped 1126s ok 1 /closure/refcount 1126s # End of closure tests 1126s ok - glib/closure-refcount.test 1126s # Running test: glib/portal-support-flatpak-none.test 1126s TAP version 13 1126s # random seed: R02S8f91fd740b74d3b6ee76e465fc12fd9b 1126s 1..1 1126s # Start of portal-support tests 1126s # Start of flatpak tests 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/runtime 1126s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_BFY7J2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1126s ok 1 /portal-support/flatpak/none 1126s # End of flatpak tests 1126s # End of portal-support tests 1126s ok - glib/portal-support-flatpak-none.test 1126s # Running test: glib/socket-listener.test 1126s TAP version 13 1126s # random seed: R02S97100a27b7bf3263e757b599033b5d0e 1126s 1..1 1126s # Start of socket-listener tests 1126s ok 1 /socket-listener/event-signal 1126s # End of socket-listener tests 1126s ok - glib/socket-listener.test 1126s # Running test: glib/async-splice-output-stream.test 1126s TAP version 13 1126s # random seed: R02Sb9e70930af28571527c9fe3d537843c6 1126s 1..5 1126s # Start of async-splice tests 1126s ok 1 /async-splice/copy-chunks 1126s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1126s ok 2 /async-splice/copy-chunks-threaded-input 1126s ok 3 /async-splice/copy-chunks-threaded-output 1126s ok 4 /async-splice/copy-chunks-threaded 1126s ok 5 /async-splice/cancelled 1126s # End of async-splice tests 1126s ok - glib/async-splice-output-stream.test 1126s # Running test: glib/gdbus-introspection.test 1126s TAP version 13 1126s # random seed: R02S14e6e4b3861d2bc2dfc305c121b29f1a 1126s 1..4 1126s # Start of gdbus tests 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-parser/.dirs/runtime 1126s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1126s ok 1 /gdbus/introspection-parser 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-generate/.dirs/runtime 1126s ok 2 /gdbus/introspection-generate 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-default-direction/.dirs/runtime 1126s ok 3 /gdbus/introspection-default-direction 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FBF8J2/gdbus/introspection-extra-data/.dirs/runtime 1126s ok 4 /gdbus/introspection-extra-data 1126s # End of gdbus tests 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s ok - glib/gdbus-introspection.test 1126s # Running test: glib/async-close-output-stream.test 1126s TAP version 13 1126s # random seed: R02S5e04b56b846542c2a8c376b920068cae 1126s 1..3 1126s # Start of close-async tests 1126s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1126s ok 1 /close-async/without-flush 1126s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1126s ok 2 /close-async/with-flush 1126s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1126s ok 3 /close-async/with-async-flush 1126s # End of close-async tests 1126s ok - glib/async-close-output-stream.test 1126s # Running test: glib/task.test 1126s TAP version 13 1126s # random seed: R02S293362e8883ebd2505bc8458e35fcac3 1126s 1..36 1126s # Start of gtask tests 1126s ok 1 /gtask/basic 1126s ok 2 /gtask/error 1126s ok 3 /gtask/error-literal 1126s ok 4 /gtask/error-literal-from-variable 1126s ok 5 /gtask/return-from-same-iteration 1126s ok 6 /gtask/return-from-toplevel 1126s ok 7 /gtask/return-from-anon-thread 1126s ok 8 /gtask/return-from-wrong-thread 1126s ok 9 /gtask/no-callback 1126s ok 10 /gtask/report-error 1126s ok 11 /gtask/priority 1126s ok 12 /gtask/name 1126s ok 13 /gtask/static-name 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1126s ok 14 /gtask/asynchronous-cancellation 1126s ok 15 /gtask/check-cancellable 1126s ok 16 /gtask/return-if-cancelled 1126s ok 17 /gtask/run-in-thread 1126s ok 18 /gtask/run-in-thread-sync 1126s ok 19 /gtask/run-in-thread-priority 1127s ok 20 /gtask/run-in-thread-nested 1127s ok 21 /gtask/run-in-thread-overflow 1127s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1127s # GLib-GIO-DEBUG: GTask 0xb593daa08b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1127s # GLib-GIO-DEBUG: GTask 0xb593daa3a9c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1127s ok 22 /gtask/return-on-cancel 1127s # GLib-GIO-DEBUG: GTask 0xb593daa0c5a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1127s # GLib-GIO-DEBUG: GTask 0xb593daa09e60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1127s ok 23 /gtask/return-on-cancel-sync 1127s ok 24 /gtask/return-on-cancel-atomic 1127s ok 25 /gtask/return-pointer 1127s ok 26 /gtask/return-value 1127s ok 27 /gtask/return-prefixed-error 1127s ok 28 /gtask/object-keepalive 1127s ok 29 /gtask/legacy-error 1127s ok 30 /gtask/finalize-without-return 1127s # Start of name tests 1127s ok 31 /gtask/name/macro-wrapper 1127s # End of name tests 1127s # Start of return tests 1127s ok 32 /gtask/return/error-first 1127s ok 33 /gtask/return/value-first 1127s # Start of in-idle tests 1127s ok 34 /gtask/return/in-idle/error-first 1127s ok 35 /gtask/return/in-idle/value-first 1127s # End of in-idle tests 1127s # End of return tests 1127s # Start of attach-source tests 1127s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1127s ok 36 /gtask/attach-source/set-name 1127s # End of attach-source tests 1127s # End of gtask tests 1127s ok - glib/task.test 1127s # Running test: glib/assert-msg-test.py.test 1127s TAP version 13 1127s ok 1 __main__.TestAssertMessage.test_gassert 1127s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1127s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1127s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1127s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1127s # Error: ** 1127s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1127s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1127s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1127s 1..2 1127s ok - glib/assert-msg-test.py.test 1127s # Running test: glib/readwrite.test 1127s TAP version 13 1127s # random seed: R02S5de69238dae32e406e0261b924864d03 1127s 1..3 1127s # Start of readwrite tests 1127s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1127s ok 1 /readwrite/test_g_file_open_readwrite 1127s ok 2 /readwrite/test_g_file_create_readwrite 1127s ok 3 /readwrite/test_g_file_replace_readwrite 1127s # End of readwrite tests 1127s ok - glib/readwrite.test 1127s # Running test: glib/portal-support-flatpak-gsettings-only.test 1127s TAP version 13 1127s # random seed: R02S2071836bd87e8b6d7f85c18d169530b5 1127s 1..1 1127s # Start of portal-support tests 1127s # Start of flatpak tests 1127s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/home 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/cache 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/system-config2 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/config 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/system-data2 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/data 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/state 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/runtime 1127s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_XKA0J2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1127s ok 1 /portal-support/flatpak/gsettings 1127s # End of flatpak tests 1127s # End of portal-support tests 1127s ok - glib/portal-support-flatpak-gsettings-only.test 1127s # Running test: glib/binding.test 1127s TAP version 13 1127s # random seed: R02S404a83bef444aa71cd8ac328c3d9c59d 1127s 1..19 1127s # Start of binding tests 1127s ok 1 /binding/default 1127s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1127s ok 2 /binding/canonicalisation 1127s ok 3 /binding/bidirectional 1127s ok 4 /binding/transform 1127s ok 5 /binding/transform-default 1127s ok 6 /binding/transform-closure 1127s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1127s ok 7 /binding/chain 1127s ok 8 /binding/sync-create 1127s ok 9 /binding/invert-boolean 1127s ok 10 /binding/same-object 1127s ok 11 /binding/unbind 1127s ok 12 /binding/unbind-weak 1127s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1127s ok 13 /binding/unbind-multiple 1127s ok 14 /binding/fail 1127s ok 15 /binding/interface 1127s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1127s ok 16 /binding/concurrent-unbind 1127s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1127s ok 17 /binding/concurrent-finalizing 1127s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1127s ok 18 /binding/dispose-source 1127s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1127s ok 19 /binding/dispose-target 1127s # End of binding tests 1127s ok - glib/binding.test 1128s # Running test: glib/rand.test 1128s TAP version 13 1128s # random seed: R02S0391ade3e92fc108f9afc54011139c2d 1128s 1..2 1128s # Start of rand tests 1128s ok 1 /rand/test-rand 1128s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1128s ok 2 /rand/double-range 1128s # End of rand tests 1128s ok - glib/rand.test 1128s # Running test: glib/closure.test 1128s TAP version 13 1128s # random seed: R02S93227ff047975765c06ab25c2a50ba50 1128s 1..6 1128s # Start of closure tests 1128s ok 1 /closure/idle 1128s ok 2 /closure/timeout 1128s ok 3 /closure/iochannel 1128s ok 4 /closure/child 1128s ok 5 /closure/fd 1128s ok 6 /closure/signal 1128s # End of closure tests 1128s ok - glib/closure.test 1128s # Running test: glib/cancellable.test 1128s TAP version 13 1128s # random seed: R02Sa23b0f39a2b39304ffeeaf56dfd1b935 1128s 1..10 1128s # Start of cancellable tests 1128s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1128s ok 2 /cancellable/null 1128s # /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 1128s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1128s # /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 1128s ok 4 /cancellable/resets-on-cancel-callback-hangs 1128s ok 5 /cancellable/poll-fd 1128s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1128s ok 6 /cancellable/poll-fd-cancelled 1128s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1128s ok 7 /cancellable/poll-fd-cancelled-threaded 1128s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1128s ok 8 /cancellable/cancel-reset-races 1128s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1128s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1128s # End of cancellable tests 1128s # Start of cancellable-source tests 1128s # /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) 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1129s ok 10 /cancellable-source/threaded-dispose 1129s # slow test /cancellable-source/threaded-dispose executed in 0.76 secs 1129s # End of cancellable-source tests 1129s ok - glib/cancellable.test 1129s # Running test: glib/data-input-stream.test 1129s TAP version 13 1129s # random seed: R02Sf6bacbc5af9802a81717216b90b06ac5 1129s 1..10 1129s # Start of data-input-stream tests 1129s ok 1 /data-input-stream/basic 1129s ok 2 /data-input-stream/read-lines-LF 1129s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1129s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1129s ok 5 /data-input-stream/read-lines-CR 1129s ok 6 /data-input-stream/read-lines-CR-LF 1129s ok 7 /data-input-stream/read-lines-any 1129s ok 8 /data-input-stream/read-until 1129s ok 9 /data-input-stream/read-upto 1129s ok 10 /data-input-stream/read-int 1129s # End of data-input-stream tests 1129s ok - glib/data-input-stream.test 1129s # Running test: glib/gthash.test 1129s TAP version 13 1129s # random seed: R02Sba4bd2b46f35e18b8f2f0653435cb291 1129s 1..1 1129s # Start of gthash tests 1129s ok 1 /gthash/build-retrieve 1129s # End of gthash tests 1129s ok - glib/gthash.test 1129s # Running test: glib/gsubprocess.test 1129s TAP version 13 1129s # random seed: R02S277f687590ebc90030d3342b6150c603 1129s 1..83 1129s # Start of gsubprocess tests 1129s ok 1 /gsubprocess/noop 1129s ok 2 /gsubprocess/noop-all-to-null 1129s ok 3 /gsubprocess/noop-no-wait 1129s ok 4 /gsubprocess/noop-stdin-inherit 1129s ok 5 /gsubprocess/search-path 1129s ok 6 /gsubprocess/search-path-from-envp 1131s # Executing: glib/gsubprocess.test 1133s ok 7 /gsubprocess/signal 1133s # slow test /gsubprocess/signal executed in 3.53 secs 1133s ok 8 /gsubprocess/exit1 1133s ok 9 /gsubprocess/echo1 1133s ok 10 /gsubprocess/echo-merged 1133s ok 11 /gsubprocess/cat-utf8 1134s ok 12 /gsubprocess/cat-eof 1134s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1136s # Executing: glib/gsubprocess.test 1137s ok 13 /gsubprocess/multi1 1137s # slow test /gsubprocess/multi1 executed in 3.01 secs 1137s ok 14 /gsubprocess/communicate 1140s ok 15 /gsubprocess/terminate 1140s # slow test /gsubprocess/terminate executed in 2.96 secs 1140s ok 16 /gsubprocess/env 1140s ok 17 /gsubprocess/cwd 1140s ok 18 /gsubprocess/launcher-close 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1140s ok 19 /gsubprocess/stdout-file 1140s ok 20 /gsubprocess/stdout-fd 1140s ok 21 /gsubprocess/child-setup 1140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1140s ok 22 /gsubprocess/launcher-environment 1140s # Start of exit1 tests 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1140s ok 23 /gsubprocess/exit1/cancel 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1140s ok 24 /gsubprocess/exit1/cancel_in_cb 1140s # End of exit1 tests 1140s # Start of communicate tests 1140s ok 25 /gsubprocess/communicate/cancelled 1140s ok 26 /gsubprocess/communicate/async 1140s ok 27 /gsubprocess/communicate/utf8 1140s # hello world 1140s ok 28 /gsubprocess/communicate/no-pipes 1140s ok 29 /gsubprocess/communicate/separate-stderr 1140s ok 30 /gsubprocess/communicate/stdout-only 1140s # hello world 1140s ok 31 /gsubprocess/communicate/stderr-only 1140s ok 32 /gsubprocess/communicate/stdout-silence 1140s ok 33 /gsubprocess/communicate/nothing 1140s # Start of async tests 1140s ok 34 /gsubprocess/communicate/async/cancelled 1140s # hello world 1140s ok 35 /gsubprocess/communicate/async/no-pipes 1140s ok 36 /gsubprocess/communicate/async/separate-stderr 1140s ok 37 /gsubprocess/communicate/async/stdout-only 1140s # hello world 1140s ok 38 /gsubprocess/communicate/async/stderr-only 1140s ok 39 /gsubprocess/communicate/async/stdout-silence 1140s # Start of cancelled tests 1140s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1140s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1140s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1140s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1140s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1140s # End of cancelled tests 1140s # End of async tests 1140s # Start of utf8 tests 1140s ok 45 /gsubprocess/communicate/utf8/cancelled 1140s ok 46 /gsubprocess/communicate/utf8/async 1140s # hello world 1140s ok 47 /gsubprocess/communicate/utf8/no-pipes 1140s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1140s ok 49 /gsubprocess/communicate/utf8/stdout-only 1140s # hello world 1140s ok 50 /gsubprocess/communicate/utf8/stderr-only 1140s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1140s ok 52 /gsubprocess/communicate/utf8/invalid 1140s # Start of async tests 1140s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1140s # hello world 1140s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1140s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1140s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1140s # hello world 1140s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1140s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1140s ok 59 /gsubprocess/communicate/utf8/async/invalid 1140s # Start of cancelled tests 1140s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1140s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1140s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1140s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1140s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1140s # End of cancelled tests 1140s # End of async tests 1140s # Start of cancelled tests 1140s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1140s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1140s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1140s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1140s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1140s # End of cancelled tests 1140s # End of utf8 tests 1140s # Start of cancelled tests 1140s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1140s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1140s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1140s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1140s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1140s # End of cancelled tests 1140s # End of communicate tests 1140s # Start of env tests 1140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1140s ok 75 /gsubprocess/env/inherit 1140s # End of env tests 1140s # Start of pass-fd tests 1140s ok 76 /gsubprocess/pass-fd/basic 1140s ok 77 /gsubprocess/pass-fd/empty-child-setup 1140s ok 78 /gsubprocess/pass-fd/inherit-fds 1140s # End of pass-fd tests 1140s # Start of fd-conflation tests 1140s ok 79 /gsubprocess/fd-conflation/basic 1140s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1140s ok 81 /gsubprocess/fd-conflation/inherit-fds 1140s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1140s # End of fd-conflation tests 1140s # Start of exit-status tests 1140s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1140s ok 83 /gsubprocess/exit-status/trapped 1140s # End of exit-status tests 1140s # End of gsubprocess tests 1140s ok - glib/gsubprocess.test 1140s # Running test: glib/cxx-2b.test 1140s TAP version 13 1140s # random seed: R02S5c0569b1b28d287841ce84f4e12708ab 1140s 1..2 1140s # Start of gtask tests 1140s # 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. 1140s ok 1 /gtask/name 1140s # Start of name tests 1140s # 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. 1140s ok 2 /gtask/name/macro-wrapper 1140s # End of name tests 1140s # End of gtask tests 1140s ok - glib/cxx-2b.test 1140s # Running test: glib/tls-database.test 1140s TAP version 13 1140s # random seed: R02S5ea1abaad1402fdcd323764e19501cdc 1140s 1..1 1140s # Start of tls-backend tests 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1140s ok 1 /tls-backend/set-default-database 1140s # End of tls-backend tests 1140s ok - glib/tls-database.test 1140s # Running test: glib/slice.test 1140s TAP version 13 1140s # random seed: R02S9dd746e6a4613730e8c0fcf315e08b87 1140s 1..3 1140s # Start of slice tests 1140s ok 1 /slice/copy 1140s ok 2 /slice/chain 1140s ok 3 /slice/allocate 1140s # End of slice tests 1140s ok - glib/slice.test 1140s # Running test: glib/signal-handler.test 1140s TAP version 13 1140s # random seed: R02S315ca5d7c777bb6f6f6a3be10028947a 1140s 1..7 1140s # Start of signal tests 1140s # Start of handler tests 1140s # min perf: connected 1 handlers in 0.000 seconds 1140s ok 1 /signal/handler/connect-many 1140s # min perf: disconnected 1 handlers in 0.000 seconds 1140s ok 2 /signal/handler/disconnect-many-ordered 1140s # min perf: disconnected 1 handlers in 0.000 seconds 1140s ok 3 /signal/handler/disconnect-many-inverse 1140s # min perf: disconnected 1 handlers in 0.000 seconds 1140s ok 4 /signal/handler/disconnect-many-random 1140s # min perf: disconnected 1 handlers in 0.000 seconds 1140s ok 5 /signal/handler/disconnect-2-signals 1140s # min perf: disconnected 1 handlers in 0.000 seconds 1140s ok 6 /signal/handler/disconnect-2-objects 1140s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1140s ok 7 /signal/handler/block-many 1140s # End of handler tests 1140s # End of signal tests 1140s ok - glib/signal-handler.test 1140s # Running test: glib/g-file-info-filesystem-readonly.test 1140s TAP version 13 1140s # random seed: R02S90832ccd4c98f15084458a2259157e32 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1140s 1..2 1140s # Start of g-file-info-filesystem-readonly tests 1140s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1140s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1140s # End of g-file-info-filesystem-readonly tests 1140s ok - glib/g-file-info-filesystem-readonly.test 1140s # Running test: glib/refstring.test 1140s TAP version 13 1140s # random seed: R02S552804fe4bcc05718910949af5fd38bc 1140s 1..5 1140s # Start of refstring tests 1140s # s = 'hello, world' (0xc91c509e6600) 1140s ok 1 /refstring/base 1140s ok 2 /refstring/length 1140s ok 3 /refstring/length-auto 1140s ok 4 /refstring/length-nuls 1140s # s = 'hello, world' (0xc91c509e6600) 1140s # p = s = 'hello, world' (0xc91c509e6600) 1140s # releasing p[0xc91c509e6600] ('hello, world') 1140s # p = 'goodbye, world' (0xc91c509ee660) 1140s # releasing p[0xc91c509ee660] ('goodbye, world') 1140s # releasing s[0xc91c509e6600] ('hello, world') 1140s ok 5 /refstring/intern 1140s # End of refstring tests 1140s ok - glib/refstring.test 1140s # Running test: glib/gdbus-peer-object-manager.test 1140s TAP version 13 1140s # random seed: R02S6664dfe552c962c7437abfa7fe47b66a 1140s 1..2 1140s # Start of gdbus tests 1140s # Start of peer-object-manager tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/normal/.dirs/runtime 1140s ok 1 /gdbus/peer-object-manager/normal 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_S4P0J2/gdbus/peer-object-manager/root/.dirs/runtime 1140s ok 2 /gdbus/peer-object-manager/root 1140s # End of peer-object-manager tests 1140s # End of gdbus tests 1140s ok - glib/gdbus-peer-object-manager.test 1140s # Running test: glib/utils-c-11.test 1140s TAP version 13 1140s # random seed: R02S528448c4d049448095df1f8f852715fe 1140s 1..40 1140s # Start of utils tests 1140s ok 1 /utils/language-names 1140s ok 2 /utils/locale-variants 1140s ok 3 /utils/version 1140s ok 4 /utils/appname 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1140s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1140s ok 5 /utils/prgname-thread-safety 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1140s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1140s ok 6 /utils/tmpdir 1140s ok 7 /utils/basic_bits 1140s ok 8 /utils/bits 1140s ok 9 /utils/swap 1140s ok 10 /utils/find-program 1140s ok 11 /utils/find-program-for-path 1140s ok 12 /utils/debug 1140s ok 13 /utils/codeset 1140s ok 14 /utils/codeset2 1140s ok 15 /utils/console-charset 1140s ok 16 /utils/gettext 1140s ok 17 /utils/username 1140s ok 18 /utils/realname 1140s ok 19 /utils/hostname 1140s ok 20 /utils/xdgdirs 1140s ok 21 /utils/specialdir 1140s # NAME: Ubuntu 1140s ok 22 /utils/os-info 1140s ok 23 /utils/clear-pointer 1140s ok 24 /utils/clear-pointer-cast 1140s ok 25 /utils/take-pointer 1140s ok 26 /utils/clear-source 1140s ok 27 /utils/misc-mem 1140s # /utils/aligned-mem summary: Aligned memory allocator 1140s # Alignment must not be zero 1140s # Alignment must be a power of two 1140s # Alignment must be a multiple of sizeof(void*) 1140s ok 28 /utils/aligned-mem 1140s # /utils/free-sized summary: Check that g_free_sized() works 1140s ok 29 /utils/free-sized 1140s ok 30 /utils/nullify 1140s ok 31 /utils/atexit 1140s ok 32 /utils/check-setuid 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1140s ok 33 /utils/int-limits 1140s ok 34 /utils/clear-list 1140s ok 35 /utils/clear-slist 1140s # Start of specialdir tests 1140s ok 36 /utils/specialdir/desktop 1140s # End of specialdir tests 1140s # Start of clear-pointer tests 1140s ok 37 /utils/clear-pointer/side-effects 1140s # End of clear-pointer tests 1140s # Start of aligned-mem tests 1140s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1140s ok 38 /utils/aligned-mem/alignment 1140s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1140s ok 39 /utils/aligned-mem/zeroed 1140s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1140s ok 40 /utils/aligned-mem/free-sized 1140s # Start of subprocess tests 1140s # End of subprocess tests 1140s # End of aligned-mem tests 1140s # End of utils tests 1140s ok - glib/utils-c-11.test 1140s # Running test: glib/deftype.test 1140s ok - glib/deftype.test 1140s # Running test: glib/gdbus-auth.test 1140s TAP version 13 1140s # random seed: R02S9fdc77ebccce47cc590cc1346368609f 1140s 1..5 1140s # Start of gdbus tests 1140s # Start of auth tests 1140s # Start of client tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1140s ok 1 /gdbus/auth/client/EXTERNAL 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1140s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1140s # End of client tests 1140s # Start of server tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1140s ok 3 /gdbus/auth/server/ANONYMOUS 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1140s ok 4 /gdbus/auth/server/EXTERNAL 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HFMXJ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1140s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1140s # End of server tests 1140s # End of auth tests 1140s # End of gdbus tests 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s ok - glib/gdbus-auth.test 1141s # Running test: glib/resources.test 1141s # Executing: glib/resources.test 1141s TAP version 13 1141s # random seed: R02S037fa18ab6bc0357c4db6dd3a36a8af1 1141s 1..17 1141s # Start of resource tests 1141s ok 1 /resource/file 1141s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1141s ok 2 /resource/file-path 1141s ok 3 /resource/data 1141s ok 4 /resource/data_unaligned 1141s ok 5 /resource/data-corrupt 1141s ok 6 /resource/data-empty 1141s ok 7 /resource/registered 1141s ok 8 /resource/manual 1141s ok 9 /resource/manual2 1141s ok 10 /resource/automatic 1141s ok 11 /resource/module 1141s ok 12 /resource/binary-linked 1141s ok 13 /resource/64k 1141s GLib-GIO-Message: 23:46:27.997: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1141s ok 14 /resource/overlay 1141s ok 15 /resource/digits 1141s # Start of uri tests 1141s ok 16 /resource/uri/query-info 1141s ok 17 /resource/uri/file 1141s # End of uri tests 1141s # End of resource tests 1141s ok - glib/resources.test 1141s # Running test: glib/io-stream.test 1141s TAP version 13 1141s # random seed: R02S8b809fa5e62eaf64efeee0cc3653203f 1141s 1..3 1141s # Start of io-stream tests 1141s ok 1 /io-stream/copy-chunks 1141s # Start of close tests 1141s # Start of async tests 1141s ok 2 /io-stream/close/async/memory 1141s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1141s ok 3 /io-stream/close/async/file 1141s # End of async tests 1141s # End of close tests 1141s # End of io-stream tests 1141s ok - glib/io-stream.test 1141s # Running test: glib/unicode.test 1141s TAP version 13 1141s # random seed: R02S89f731e9fcf063fb11ab08966ee1d55e 1141s 1..39 1141s # Start of unicode tests 1141s ok 1 /unicode/alnum 1141s ok 2 /unicode/alpha 1141s ok 3 /unicode/break-type 1141s ok 4 /unicode/canonical-decomposition 1141s ok 5 /unicode/casefold 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s # Cannot set locale to lt_LT, skipping 1141s ok 6 /unicode/casemap_and_casefold 1141s ok 7 /unicode/cases 1141s ok 8 /unicode/character-type 1141s ok 9 /unicode/cntrl 1141s ok 10 /unicode/combining-class 1141s ok 11 /unicode/compose 1141s ok 12 /unicode/decompose 1141s ok 13 /unicode/decompose-tail 1141s ok 14 /unicode/defined 1141s ok 15 /unicode/digit 1141s ok 16 /unicode/digit-value 1141s ok 17 /unicode/fully-decompose-canonical 1141s ok 18 /unicode/fully-decompose-len 1141s ok 19 /unicode/normalization 1141s ok 20 /unicode/graph 1141s # Testing script Zyyy (code 1517910393) 1141s # Testing script Zinh (code 1516858984) 1141s # Testing script Zmth (code 1517122664) 1141s # Testing script Arab (code 1098015074) 1141s # Testing script Armn (code 1098018158) 1141s # Testing script Beng (code 1113943655) 1141s # Testing script Bopo (code 1114599535) 1141s # Testing script Cher (code 1130915186) 1141s # Testing script Copt (code 1131376756) 1141s # Testing script Cyrl (code 1132032620) 1141s # Testing script Dsrt (code 1148416628) 1141s # Testing script Deva (code 1147500129) 1141s # Testing script Ethi (code 1165256809) 1141s # Testing script Geor (code 1197830002) 1141s # Testing script Goth (code 1198486632) 1141s # Testing script Grek (code 1198679403) 1141s # Testing script Gujr (code 1198877298) 1141s # Testing script Guru (code 1198879349) 1141s # Testing script Hani (code 1214344809) 1141s # Testing script Hang (code 1214344807) 1141s # Testing script Hebr (code 1214603890) 1141s # Testing script Hira (code 1214870113) 1141s # Testing script Knda (code 1265525857) 1141s # Testing script Kana (code 1264676449) 1141s # Testing script Khmr (code 1265134962) 1141s # Testing script Laoo (code 1281453935) 1141s # Testing script Latn (code 1281455214) 1141s # Testing script Mlym (code 1298954605) 1141s # Testing script Mong (code 1299148391) 1141s # Testing script Mymr (code 1299803506) 1141s # Testing script Ogam (code 1332175213) 1141s # Testing script Ital (code 1232363884) 1141s # Testing script Orya (code 1332902241) 1141s # Testing script Runr (code 1383427698) 1141s # Testing script Sinh (code 1399418472) 1141s # Testing script Syrc (code 1400468067) 1141s # Testing script Taml (code 1415671148) 1141s # Testing script Telu (code 1415933045) 1141s # Testing script Thaa (code 1416126817) 1141s # Testing script Thai (code 1416126825) 1141s # Testing script Tibt (code 1416192628) 1141s # Testing script Cans (code 1130458739) 1141s # Testing script Yiii (code 1500080489) 1141s # Testing script Tglg (code 1416064103) 1141s # Testing script Hano (code 1214344815) 1141s # Testing script Buhd (code 1114990692) 1141s # Testing script Tagb (code 1415669602) 1141s # Testing script Brai (code 1114792297) 1141s # Testing script Cprt (code 1131442804) 1141s # Testing script Limb (code 1281977698) 1141s # Testing script Osma (code 1332964705) 1141s # Testing script Shaw (code 1399349623) 1141s # Testing script Linb (code 1281977954) 1141s # Testing script Tale (code 1415670885) 1141s # Testing script Ugar (code 1432838514) 1141s # Testing script Talu (code 1415670901) 1141s # Testing script Bugi (code 1114990441) 1141s # Testing script Glag (code 1198285159) 1141s # Testing script Tfng (code 1415999079) 1141s # Testing script Sylo (code 1400466543) 1141s # Testing script Xpeo (code 1483761007) 1141s # Testing script Khar (code 1265131890) 1141s # Testing script Zzzz (code 1517976186) 1141s # Testing script Bali (code 1113681001) 1141s # Testing script Xsux (code 1483961720) 1141s # Testing script Phnx (code 1349021304) 1141s # Testing script Phag (code 1349017959) 1141s # Testing script Nkoo (code 1315663727) 1141s # Testing script Kali (code 1264675945) 1141s # Testing script Lepc (code 1281716323) 1141s # Testing script Rjng (code 1382706791) 1141s # Testing script Sund (code 1400204900) 1141s # Testing script Saur (code 1398895986) 1141s # Testing script Cham (code 1130914157) 1141s # Testing script Olck (code 1332503403) 1141s # Testing script Vaii (code 1449224553) 1141s # Testing script Cari (code 1130459753) 1141s # Testing script Lyci (code 1283023721) 1141s # Testing script Lydi (code 1283023977) 1141s # Testing script Avst (code 1098281844) 1141s # Testing script Bamu (code 1113681269) 1141s # Testing script Egyp (code 1164409200) 1141s # Testing script Armi (code 1098018153) 1141s # Testing script Phli (code 1349020777) 1141s # Testing script Prti (code 1349678185) 1141s # Testing script Java (code 1247901281) 1141s # Testing script Kthi (code 1265920105) 1141s # Testing script Lisu (code 1281979253) 1141s # Testing script Mtei (code 1299473769) 1141s # Testing script Sarb (code 1398895202) 1141s # Testing script Orkh (code 1332898664) 1141s # Testing script Samr (code 1398893938) 1141s # Testing script Lana (code 1281453665) 1141s # Testing script Tavt (code 1415673460) 1141s # Testing script Batk (code 1113683051) 1141s # Testing script Brah (code 1114792296) 1141s # Testing script Mand (code 1298230884) 1141s # Testing script Cakm (code 1130457965) 1141s # Testing script Merc (code 1298494051) 1141s # Testing script Mero (code 1298494063) 1141s # Testing script Plrd (code 1349284452) 1141s # Testing script Shrd (code 1399353956) 1141s # Testing script Sora (code 1399812705) 1141s # Testing script Takr (code 1415670642) 1141s # Testing script Bass (code 1113682803) 1141s # Testing script Aghb (code 1097295970) 1141s # Testing script Dupl (code 1148547180) 1141s # Testing script Elba (code 1164730977) 1141s # Testing script Gran (code 1198678382) 1141s # Testing script Khoj (code 1265135466) 1141s # Testing script Sind (code 1399418468) 1141s # Testing script Lina (code 1281977953) 1141s # Testing script Mahj (code 1298229354) 1141s # Testing script Mani (code 1298230889) 1141s # Testing script Mend (code 1298493028) 1141s # Testing script Modi (code 1299145833) 1141s # Testing script Mroo (code 1299345263) 1141s # Testing script Nbat (code 1315070324) 1141s # Testing script Narb (code 1315009122) 1141s # Testing script Perm (code 1348825709) 1141s # Testing script Hmng (code 1215131239) 1141s # Testing script Palm (code 1348562029) 1141s # Testing script Pauc (code 1348564323) 1141s # Testing script Phlp (code 1349020784) 1141s # Testing script Sidd (code 1399415908) 1141s # Testing script Tirh (code 1416196712) 1141s # Testing script Wara (code 1466004065) 1141s # Testing script Ahom (code 1097363309) 1141s # Testing script Hluw (code 1215067511) 1141s # Testing script Hatr (code 1214346354) 1141s # Testing script Mult (code 1299541108) 1141s # Testing script Hung (code 1215655527) 1141s # Testing script Sgnw (code 1399287415) 1141s # Testing script Adlm (code 1097100397) 1141s # Testing script Bhks (code 1114139507) 1141s # Testing script Marc (code 1298231907) 1141s # Testing script Newa (code 1315272545) 1141s # Testing script Osge (code 1332963173) 1141s # Testing script Tang (code 1415671399) 1141s # Testing script Gonm (code 1198485101) 1141s # Testing script Nshu (code 1316186229) 1141s # Testing script Soyo (code 1399814511) 1141s # Testing script Zanb (code 1516334690) 1141s # Testing script Dogr (code 1148151666) 1141s # Testing script Gong (code 1198485095) 1141s # Testing script Rohg (code 1383032935) 1141s # Testing script Maka (code 1298230113) 1141s # Testing script Medf (code 1298490470) 1141s # Testing script Sogo (code 1399809903) 1141s # Testing script Sogd (code 1399809892) 1141s # Testing script Elym (code 1164736877) 1141s # Testing script Nand (code 1315008100) 1141s # Testing script Hmnp (code 1215131248) 1141s # Testing script Wcho (code 1466132591) 1141s # Testing script Chrs (code 1130918515) 1141s # Testing script Diak (code 1147756907) 1141s # Testing script Kits (code 1265202291) 1141s # Testing script Yezi (code 1499822697) 1141s # Testing script Cpmn (code 1131441518) 1141s # Testing script Ougr (code 1333094258) 1141s # Testing script Tnsa (code 1416524641) 1141s # Testing script Toto (code 1416590447) 1141s # Testing script Vith (code 1449751656) 1141s # Testing script Kawi (code 1264678761) 1141s # Testing script Nagm (code 1315006317) 1141s ok 21 /unicode/iso15924 1141s ok 22 /unicode/lower 1141s ok 23 /unicode/mark 1141s ok 24 /unicode/mirror 1141s ok 25 /unicode/print 1141s ok 26 /unicode/punctuation 1141s ok 27 /unicode/script 1141s ok 28 /unicode/space 1141s ok 29 /unicode/strdown 1141s ok 30 /unicode/strup 1141s ok 31 /unicode/turkish-strupdown 1141s ok 32 /unicode/title 1141s ok 33 /unicode/upper 1141s ok 34 /unicode/validate 1141s ok 35 /unicode/wide 1141s ok 36 /unicode/xdigit 1141s ok 37 /unicode/xdigit-value 1141s ok 38 /unicode/zero-width 1141s ok 39 /unicode/normalize 1141s # End of unicode tests 1141s ok - glib/unicode.test 1141s # Running test: glib/macros-c-99.test 1141s TAP version 13 1141s # random seed: R02S48b22b71beeebe8763ec99a6db78c773 1141s 1..4 1141s # Start of C tests 1141s ok 1 /C/standard-99 1141s # End of C tests 1141s # Start of alignof tests 1141s ok 2 /alignof/fallback 1141s # End of alignof tests 1141s # Start of assert tests 1141s ok 3 /assert/static 1141s # End of assert tests 1141s # Start of struct tests 1141s ok 4 /struct/sizeof_member 1141s # End of struct tests 1141s ok - glib/macros-c-99.test 1141s # Running test: glib/properties-refcount1.test 1141s TAP version 13 1141s # random seed: R02Sccfa7ac5b371701b60aef046e11529ae 1141s 1..1 1141s # Start of gobject tests 1141s # Start of refcount tests 1141s # .b 1141s # .e 1141s # .c 1141s # .d 1141s # .f 1141s # .b 1141s # .e 1141s # .c 1141s # .d 1141s # .f 1141s # .c 1141s # .e 1141s # .b 1141s # .d 1141s # .f 1141s # .c 1141s # .e 1141s # .d 1141s # .b 1141s # .c 1141s # .f 1141s # .c 1141s # .e 1141s # .f 1141s # .d 1141s # .b 1141s # .f 1141s # .c 1141s # .f 1141s # .d 1141s # .e 1141s # .b 1141s # .d 1141s # .c 1141s # .f 1141s # .e 1141s # .b 1141s # .d 1141s # .f 1141s # .c 1141s # .d 1141s # .e 1141s # .b 1141s # .f 1141s # .c 1141s # .f 1141s # .e 1141s # .d 1141s # .b 1141s # .c 1141s # .e 1141s # .d 1141s # .f 1141s # .b 1141s # .c 1141s # .f 1141s # .e 1141s # .d 1141s # .b 1141s # .f 1141s # .c 1141s # .d 1141s # .b 1141s # .f 1141s # .e 1141s # .c 1141s # .d 1141s # .b 1141s # .e 1142s # .f 1142s # .c 1142s # .d 1142s # .b 1142s # .e 1142s # .c 1142s # .f 1142s # .d 1142s # .b 1142s # .e 1142s # .c 1142s # .f 1142s # .b 1142s # .f 1142s # .d 1142s # .c 1142s # .e 1142s # .b 1142s # .c 1142s # .d 1142s # .f 1142s # .e 1142s # .b 1142s # .c 1142s # .d 1142s # .f 1142s # .b 1142s # .e 1142s # .f 1142s # .c 1142s # .d 1142s # .b 1142s # .e 1142s # .f 1142s # .c 1142s # .d 1142s # .b 1142s # .f 1142s # .e 1142s # .c 1142s # .d 1142s # .c 1142s # .c 1142s # .b 1142s # .f 1142s # .e 1142s # .c 1142s # .d 1142s # .f 1142s # .e 1142s # .c 1142s # .b 1142s # .d 1142s # .f 1142s # .b 1142s # .e 1142s # .c 1142s # .e 1142s # .d 1142s # .f 1142s # .b 1142s # .e 1142s # .c 1142s # .d 1142s # .d 1142s # .f 1142s # .d 1142s # .e 1142s # .b 1142s # .d 1142s # .c 1142s # .d 1142s # .f 1142s # .e 1142s # .b 1142s # .d 1142s # .c 1142s # .f 1142s # .e 1142s # .d 1142s # .c 1142s # .b 1142s # .f 1142s # .e 1142s # .d 1142s # .c 1142s # .b 1142s # .b 1143s # .f 1143s # .d 1143s # .b 1143s # .e 1143s # .c 1143s # .b 1143s # .d 1143s # .f 1143s # .e 1143s # .c 1143s # .b 1143s # .d 1143s # .f 1143s # .e 1143s # .d 1143s # .c 1143s # .f 1143s # .b 1143s # .c 1143s # .d 1143s # .e 1143s # .c 1143s # .f 1143s # .b 1143s # .c 1143s # .c 1143s # .d 1143s # .e 1143s # .c 1143s # .f 1143s # .b 1143s # .d 1143s # .c 1143s # .f 1143s # .e 1143s # .d 1143s # .c 1143s # .b 1143s # .e 1143s # .c 1143s # .b 1143s # .f 1143s # .d 1143s # .e 1143s # .b 1143s # .c 1143s # .f 1143s # .b 1143s # .d 1143s # .c 1143s # .f 1143s # .e 1143s # .d 1143s # .c 1143s # .f 1143s # .e 1143s # .b 1143s # .d 1143s # .c 1143s # .f 1143s # .c 1143s # .e 1143s # .d 1143s # .b 1143s # .f 1143s # .e 1143s # .b 1143s # .c 1143s # .d 1143s # .e 1143s # .f 1143s # .c 1143s # .b 1143s # .d 1143s # .f 1143s # .e 1143s # .c 1143s # .f 1143s # .d 1143s # .b 1143s # .f 1143s # .e 1143s # .c 1143s # .f 1143s # .f 1143s # .d 1143s # .f 1143s # .b 1144s # .e 1144s # .c 1144s # .d 1144s # .c 1144s # .f 1144s # .c 1144s # .b 1144s # .e 1144s # .c 1144s # .f 1144s # .d 1144s # .b 1144s # .c 1144s # .e 1144s ok 1 /gobject/refcount/properties-1 1144s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1144s # End of refcount tests 1144s # End of gobject tests 1144s ok - glib/properties-refcount1.test 1144s # Running test: glib/markup.test 1144s TAP version 13 1144s # random seed: R02Sa547df23ed5eefae7181ce691fec7bec 1144s 1..1 1144s # Start of markup tests 1144s ok 1 /markup/stack 1144s # End of markup tests 1144s ok - glib/markup.test 1144s # Running test: glib/dbus-appinfo.test 1144s TAP version 13 1144s # random seed: R02Sb1d714704c90e251eb5ca63621a0f234 1144s 1..3 1144s # Start of appinfo tests 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1144s ok 1 /appinfo/dbusappinfo 1144s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1144s dbus-daemon[13849]: [session uid=1000 pid=13849] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13848 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1144s # Acquired a message bus connection 1144s dbus-daemon[13849]: [session uid=1000 pid=13849] Successfully activated service 'org.freedesktop.portal.Documents' 1144s # Acquired the name org.freedesktop.portal.Documents 1144s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1144s ok 2 /appinfo/flatpak-doc-export 1144s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1144s ok 3 /appinfo/flatpak-missing-doc-export 1144s # End of appinfo tests 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # Lost the name org.freedesktop.portal.Documents 1144s ok - glib/dbus-appinfo.test 1144s # Running test: glib/memory-settings-backend.test 1144s TAP version 13 1144s # random seed: R02S2079b6b5c1df177b1f2a68baf504d09a 1144s 1..1 1144s # Start of memory-settings-backend tests 1144s ok 1 /memory-settings-backend/extension-point-registered 1144s # End of memory-settings-backend tests 1144s ok - glib/memory-settings-backend.test 1144s # Running test: glib/fileattributematcher.test 1144s TAP version 13 1144s # random seed: R02Scad9cba80ac1496f557fcc621fcce152 1144s 1..3 1144s # Start of fileattributematcher tests 1144s ok 1 /fileattributematcher/exact 1144s ok 2 /fileattributematcher/equality 1144s ok 3 /fileattributematcher/subtract 1144s # End of fileattributematcher tests 1144s ok - glib/fileattributematcher.test 1144s # Running test: glib/642026-ec.test 1144s TAP version 13 1144s # random seed: R02S0046f4d54000fa58e3afc0b94b45e729 1144s 1..1 1144s # Start of glib tests 1144s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1144s ok 1 /glib/642026 1144s # End of glib tests 1144s ok - glib/642026-ec.test 1144s # Running test: glib/boxed.test 1144s TAP version 13 1144s # random seed: R02Sc2464d9520556a38b65e6c0e72d3c86f 1144s 1..27 1144s # Start of boxed tests 1144s ok 1 /boxed/define 1144s ok 2 /boxed/ownership 1144s ok 3 /boxed/closure 1144s ok 4 /boxed/date 1144s ok 5 /boxed/value 1144s ok 6 /boxed/string 1144s ok 7 /boxed/hashtable 1144s ok 8 /boxed/array 1144s ok 9 /boxed/ptrarray 1144s ok 10 /boxed/regex 1144s ok 11 /boxed/varianttype 1144s ok 12 /boxed/error 1144s ok 13 /boxed/datetime 1144s ok 14 /boxed/matchinfo 1144s ok 15 /boxed/keyfile 1144s ok 16 /boxed/mainloop 1144s ok 17 /boxed/maincontext 1144s ok 18 /boxed/source 1144s ok 19 /boxed/variantbuilder 1144s ok 20 /boxed/timezone 1144s ok 21 /boxed/pollfd 1144s ok 22 /boxed/markup 1144s ok 23 /boxed/thread 1144s ok 24 /boxed/checksum 1144s ok 25 /boxed/tree 1144s ok 26 /boxed/patternspec 1144s ok 27 /boxed/rand 1144s # End of boxed tests 1144s ok - glib/boxed.test 1144s # Running test: glib/gdbus-sasl.test 1144s TAP version 13 1144s # random seed: R02Sd13067b46b25313a7abd73f2354a0791 1144s 1..1 1144s # Start of gdbus tests 1144s # Start of sasl tests 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_SWEDK2/gdbus/sasl/server/.dirs/runtime 1144s # New handshake: EXTERNAL with incorrect initial response 1144s # C:“AUTH EXTERNAL 30” 1144s # Expect: /^REJECTED.*$/ 1144s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1144s # New handshake: EXTERNAL without initial response, failing to authenticate 1144s # C:“AUTH EXTERNAL” 1144s # Expect: /^DATA$/ 1144s # S:“DATA” 1144s # C:“DATA 30” 1144s # Expect: /^REJECTED.*$/ 1144s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1144s # New handshake: EXTERNAL with initial response 1144s # C:“AUTH EXTERNAL 31303030” 1144s # Expect: /^OK [0-9a-f]+$/ 1144s # S:“OK 8c9bee36616cdd3d4435e1bf65ef97d7” 1144s # New handshake: EXTERNAL without initial response 1144s # C:“AUTH EXTERNAL” 1144s # Expect: /^DATA$/ 1144s # S:“DATA” 1144s # C:“DATA 31303030” 1144s # Expect: /^OK [0-9a-f]+$/ 1144s # S:“OK 8c9bee36616cdd3d4435e1bf65ef97d7” 1144s # New handshake: EXTERNAL with empty authorization identity 1144s # C:“AUTH EXTERNAL” 1144s # Expect: /^DATA$/ 1144s # S:“DATA” 1144s # C:“DATA” 1144s # Expect: /^OK [0-9a-f]+$/ 1144s # S:“OK 8c9bee36616cdd3d4435e1bf65ef97d7” 1144s # New handshake: EXTERNAL with empty authorization identity and whitespace 1144s # C:“AUTH EXTERNAL” 1144s # Expect: /^DATA$/ 1144s # S:“DATA” 1144s # C:“DATA ” 1144s # Expect: /^OK [0-9a-f]+$/ 1144s # S:“OK 8c9bee36616cdd3d4435e1bf65ef97d7” 1144s ok 1 /gdbus/sasl/server 1144s # End of sasl tests 1144s # End of gdbus tests 1144s ok - glib/gdbus-sasl.test 1144s # Running test: glib/memory-monitor.test 1144s TAP version 13 1144s # random seed: R02S9d0f1ec666befecd2398c89e1cfca5ed 1144s 1..1 1144s # Start of memory-monitor tests 1144s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1144s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1144s ok 1 /memory-monitor/default 1144s # End of memory-monitor tests 1144s ok - glib/memory-monitor.test 1144s # Running test: glib/contenttype.test 1144s TAP version 13 1144s # random seed: R02S81be7c3a61b2d665f239956244bfc43e 1144s 1..13 1144s # Start of contenttype tests 1144s ok 1 /contenttype/guess 1144s ok 2 /contenttype/guess_svg_from_data 1144s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1144s ok 4 /contenttype/unknown 1144s ok 5 /contenttype/subtype 1144s ok 6 /contenttype/list 1144s ok 7 /contenttype/executable 1144s ok 8 /contenttype/description 1144s ok 9 /contenttype/icon 1144s ok 10 /contenttype/symbolic-icon 1144s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1144s ok 11 /contenttype/tree 1144s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1144s ok 12 /contenttype/tree_invalid_encoding 1144s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1144s ok 13 /contenttype/test_type_is_a_special_case 1144s # End of contenttype tests 1144s ok - glib/contenttype.test 1144s # Running test: glib/type-flags.test 1144s TAP version 13 1144s # random seed: R02S3198d9f4ad9ea7f388cf8b533673d9dd 1144s 1..4 1144s # Start of type tests 1144s # Start of flags tests 1144s ok 1 /type/flags/interface 1144s ok 2 /type/flags/final 1144s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1144s ok 3 /type/flags/deprecated 1144s # Start of final tests 1144s ok 4 /type/flags/final/instance-check 1144s # End of final tests 1144s # End of flags tests 1144s # End of type tests 1144s ok - glib/type-flags.test 1144s # Running test: glib/cxx-20.test 1144s TAP version 13 1144s # random seed: R02S00c653fcc500382c1500c38c3714ca39 1144s 1..2 1144s # Start of gtask tests 1144s # 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. 1144s ok 1 /gtask/name 1144s # Start of name tests 1144s # 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. 1144s ok 2 /gtask/name/macro-wrapper 1144s # End of name tests 1144s # End of gtask tests 1144s ok - glib/cxx-20.test 1144s # Running test: glib/pathbuf.test 1144s TAP version 13 1144s # random seed: R02S89e148dcc51a69b6943d3bb3e5d96ff3 1144s 1..3 1144s # Start of pathbuf tests 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_L0EBK2/pathbuf/init/.dirs/runtime 1144s # Initializing empty path buf 1144s # Initializing with empty path 1144s # Initializing with full path 1144s # Initializing with no path 1144s # Allocating GPathBuf on the heap 1144s ok 1 /pathbuf/init 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_L0EBK2/pathbuf/push-pop/.dirs/runtime 1144s # Pushing relative path component 1144s # Pushing absolute path component 1144s # Popping a path component 1144s # Can't pop the last element of a path buffer 1144s ok 2 /pathbuf/push-pop 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_L0EBK2/pathbuf/filename-extension/.dirs/runtime 1144s ok 3 /pathbuf/filename-extension 1144s # End of pathbuf tests 1144s ok - glib/pathbuf.test 1144s # Running test: glib/signalgroup.test 1144s TAP version 13 1144s # random seed: R02Saca7498ec12050cb61d346ca9c1af75a 1144s 1..9 1144s # Start of GObject tests 1144s # Start of SignalGroup tests 1144s ok 1 /GObject/SignalGroup/invalid 1144s ok 2 /GObject/SignalGroup/simple 1144s ok 3 /GObject/SignalGroup/changing-target 1144s ok 4 /GObject/SignalGroup/blocking 1144s ok 5 /GObject/SignalGroup/weak-ref-target 1144s ok 6 /GObject/SignalGroup/connect-object 1144s ok 7 /GObject/SignalGroup/signal-parsing 1144s ok 8 /GObject/SignalGroup/properties 1144s ok 9 /GObject/SignalGroup/interface 1144s # Start of signal-parsing tests 1144s # End of signal-parsing tests 1144s # End of SignalGroup tests 1144s # End of GObject tests 1144s ok - glib/signalgroup.test 1144s # Running test: glib/cond.test 1144s TAP version 13 1144s # random seed: R02Sd1e009d390a19200c5b2da10cd3f6e5e 1144s 1..4 1144s # Start of thread tests 1144s ok 1 /thread/cond1 1144s ok 2 /thread/cond2 1144s # Start of cond tests 1145s ok 3 /thread/cond/wait-until 1145s # slow test /thread/cond/wait-until executed in 1.02 secs 1145s # Start of wait-until tests 1145s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1146s # Executing: glib/cond.test 1146s ok 4 /thread/cond/wait-until/contended-and-interrupted 1146s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1146s # End of wait-until tests 1146s # End of cond tests 1146s # End of thread tests 1146s ok - glib/cond.test 1146s # Running test: glib/mkenums.py.test 1146s TAP version 13 1146s ok 1 __main__.TestMkenums.test_available_in 1146s # tmpdir: /tmp/tmp0dlyzna4 1146s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1146s # /tmp/tmp0dlyzna4/tmp7gu5zdv8.h: 1146s # typedef enum { 1146s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1146s # } GDBusServerFlags; 1146s # 1146s # /tmp/tmp0dlyzna4/tmpm989cgtg.template: 1146s # /*** BEGIN file-header ***/ 1146s # file-header 1146s # /*** END file-header ***/ 1146s # 1146s # /*** BEGIN file-production ***/ 1146s # file-production 1146s # filename: @filename@ 1146s # basename: @basename@ 1146s # /*** END file-production ***/ 1146s # 1146s # /*** BEGIN enumeration-production ***/ 1146s # enumeration-production 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END enumeration-production ***/ 1146s # 1146s # /*** BEGIN value-header ***/ 1146s # value-header 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-header ***/ 1146s # 1146s # /*** BEGIN value-production ***/ 1146s # value-production 1146s # VALUENAME: @VALUENAME@ 1146s # valuenick: @valuenick@ 1146s # valuenum: @valuenum@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-production ***/ 1146s # 1146s # /*** BEGIN value-tail ***/ 1146s # value-tail 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-tail ***/ 1146s # 1146s # /*** BEGIN comment ***/ 1146s # comment 1146s # comment: @comment@ 1146s # /*** END comment ***/ 1146s # 1146s # /*** BEGIN file-tail ***/ 1146s # file-tail 1146s # /*** END file-tail ***/ 1146s # 1146s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0dlyzna4/tmpm989cgtg.template', '/tmp/tmp0dlyzna4/tmp7gu5zdv8.h'] 1146s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1146s # Output: comment 1146s # 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. 1146s # 1146s # 1146s # file-header 1146s # file-production 1146s # filename: /tmp/tmp0dlyzna4/tmp7gu5zdv8.h 1146s # basename: tmp7gu5zdv8.h 1146s # enumeration-production 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-header 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-production 1146s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1146s # valuenick: user 1146s # valuenum: 4 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-tail 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # file-tail 1146s # 1146s # comment 1146s # comment: Generated data ends here 1146s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1146s # tmpdir: /tmp/tmpw4rf41_j 1146s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1146s # /tmp/tmpw4rf41_j/tmpmy5bk7u5.h: 1146s # typedef enum { 1146s # ENUM_VALUE_WITH_COMMA = ',', 1146s # } TestCommaEnum; 1146s # 1146s # /tmp/tmpw4rf41_j/tmprzc82ger.template: 1146s # /*** BEGIN file-header ***/ 1146s # file-header 1146s # /*** END file-header ***/ 1146s # 1146s # /*** BEGIN file-production ***/ 1146s # file-production 1146s # filename: @filename@ 1146s # basename: @basename@ 1146s # /*** END file-production ***/ 1146s # 1146s # /*** BEGIN enumeration-production ***/ 1146s # enumeration-production 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END enumeration-production ***/ 1146s # 1146s # /*** BEGIN value-header ***/ 1146s # value-header 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-header ***/ 1146s # 1146s # /*** BEGIN value-production ***/ 1146s # value-production 1146s # VALUENAME: @VALUENAME@ 1146s # valuenick: @valuenick@ 1146s # valuenum: @valuenum@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-production ***/ 1146s # 1146s # /*** BEGIN value-tail ***/ 1146s # value-tail 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-tail ***/ 1146s # 1146s # /*** BEGIN comment ***/ 1146s # comment 1146s # comment: @comment@ 1146s # /*** END comment ***/ 1146s # 1146s # /*** BEGIN file-tail ***/ 1146s # file-tail 1146s # /*** END file-tail ***/ 1146s # 1146s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpw4rf41_j/tmprzc82ger.template', '/tmp/tmpw4rf41_j/tmpmy5bk7u5.h'] 1146s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1146s # Output: comment 1146s # 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. 1146s # 1146s # 1146s # file-header 1146s # file-production 1146s # filename: /tmp/tmpw4rf41_j/tmpmy5bk7u5.h 1146s # basename: tmpmy5bk7u5.h 1146s # enumeration-production 1146s # EnumName: TestCommaEnum 1146s # enum_name: test_comma_enum 1146s # ENUMNAME: TEST_COMMA_ENUM 1146s # ENUMSHORT: COMMA_ENUM 1146s # ENUMPREFIX: TEST 1146s # enumsince: 1146s # type: enum 1146s # Type: Enum 1146s # TYPE: ENUM 1146s # value-header 1146s # EnumName: TestCommaEnum 1146s # enum_name: test_comma_enum 1146s # ENUMNAME: TEST_COMMA_ENUM 1146s # ENUMSHORT: COMMA_ENUM 1146s # ENUMPREFIX: TEST 1146s # enumsince: 1146s # type: enum 1146s # Type: Enum 1146s # TYPE: ENUM 1146s # value-production 1146s # VALUENAME: ENUM_VALUE_WITH_COMMA 1146s # valuenick: comma 1146s # valuenum: 44 1146s # type: enum 1146s # Type: Enum 1146s # TYPE: ENUM 1146s # value-tail 1146s # EnumName: TestCommaEnum 1146s # enum_name: test_comma_enum 1146s # ENUMNAME: TEST_COMMA_ENUM 1146s # ENUMSHORT: COMMA_ENUM 1146s # ENUMPREFIX: TEST 1146s # enumsince: 1146s # type: enum 1146s # Type: Enum 1146s # TYPE: ENUM 1146s # file-tail 1146s # 1146s # comment 1146s # comment: Generated data ends here 1146s ok 3 __main__.TestMkenums.test_deprecated_in 1146s # tmpdir: /tmp/tmpb_3q_0i3 1146s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1146s # /tmp/tmpb_3q_0i3/tmp5e7zelzs.h: 1146s # typedef enum { 1146s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1146s # } GDBusServerFlags; 1146s # 1146s # /tmp/tmpb_3q_0i3/tmp5tvfujrs.template: 1146s # /*** BEGIN file-header ***/ 1146s # file-header 1146s # /*** END file-header ***/ 1146s # 1146s # /*** BEGIN file-production ***/ 1146s # file-production 1146s # filename: @filename@ 1146s # basename: @basename@ 1146s # /*** END file-production ***/ 1146s # 1146s # /*** BEGIN enumeration-production ***/ 1146s # enumeration-production 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END enumeration-production ***/ 1146s # 1146s # /*** BEGIN value-header ***/ 1146s # value-header 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-header ***/ 1146s # 1146s # /*** BEGIN value-production ***/ 1146s # value-production 1146s # VALUENAME: @VALUENAME@ 1146s # valuenick: @valuenick@ 1146s # valuenum: @valuenum@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-production ***/ 1146s # 1146s # /*** BEGIN value-tail ***/ 1146s # value-tail 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-tail ***/ 1146s # 1146s # /*** BEGIN comment ***/ 1146s # comment 1146s # comment: @comment@ 1146s # /*** END comment ***/ 1146s # 1146s # /*** BEGIN file-tail ***/ 1146s # file-tail 1146s # /*** END file-tail ***/ 1146s # 1146s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb_3q_0i3/tmp5tvfujrs.template', '/tmp/tmpb_3q_0i3/tmp5e7zelzs.h'] 1146s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1146s # Output: comment 1146s # 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. 1146s # 1146s # 1146s # file-header 1146s # file-production 1146s # filename: /tmp/tmpb_3q_0i3/tmp5e7zelzs.h 1146s # basename: tmp5e7zelzs.h 1146s # enumeration-production 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-header 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-production 1146s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1146s # valuenick: user 1146s # valuenum: 4 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-tail 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # file-tail 1146s # 1146s # comment 1146s # comment: Generated data ends here 1146s ok 4 __main__.TestMkenums.test_deprecated_in_for 1146s # tmpdir: /tmp/tmp5jd072d8 1146s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1146s # /tmp/tmp5jd072d8/tmpkiqfth6z.h: 1146s # typedef enum { 1146s # 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) 1146s # } GDBusServerFlags; 1146s # 1146s # /tmp/tmp5jd072d8/tmpxljkxo6p.template: 1146s # /*** BEGIN file-header ***/ 1146s # file-header 1146s # /*** END file-header ***/ 1146s # 1146s # /*** BEGIN file-production ***/ 1146s # file-production 1146s # filename: @filename@ 1146s # basename: @basename@ 1146s # /*** END file-production ***/ 1146s # 1146s # /*** BEGIN enumeration-production ***/ 1146s # enumeration-production 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END enumeration-production ***/ 1146s # 1146s # /*** BEGIN value-header ***/ 1146s # value-header 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-header ***/ 1146s # 1146s # /*** BEGIN value-production ***/ 1146s # value-production 1146s # VALUENAME: @VALUENAME@ 1146s # valuenick: @valuenick@ 1146s # valuenum: @valuenum@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-production ***/ 1146s # 1146s # /*** BEGIN value-tail ***/ 1146s # value-tail 1146s # EnumName: @EnumName@ 1146s # enum_name: @enum_name@ 1146s # ENUMNAME: @ENUMNAME@ 1146s # ENUMSHORT: @ENUMSHORT@ 1146s # ENUMPREFIX: @ENUMPREFIX@ 1146s # enumsince: @enumsince@ 1146s # type: @type@ 1146s # Type: @Type@ 1146s # TYPE: @TYPE@ 1146s # /*** END value-tail ***/ 1146s # 1146s # /*** BEGIN comment ***/ 1146s # comment 1146s # comment: @comment@ 1146s # /*** END comment ***/ 1146s # 1146s # /*** BEGIN file-tail ***/ 1146s # file-tail 1146s # /*** END file-tail ***/ 1146s # 1146s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5jd072d8/tmpxljkxo6p.template', '/tmp/tmp5jd072d8/tmpkiqfth6z.h'] 1146s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1146s # Output: comment 1146s # 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. 1146s # 1146s # 1146s # file-header 1146s # file-production 1146s # filename: /tmp/tmp5jd072d8/tmpkiqfth6z.h 1146s # basename: tmpkiqfth6z.h 1146s # enumeration-production 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-header 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-production 1146s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1146s # valuenick: user 1146s # valuenum: 4 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # value-tail 1146s # EnumName: GDBusServerFlags 1146s # enum_name: g_dbus_server_flags 1146s # ENUMNAME: G_DBUS_SERVER_FLAGS 1146s # ENUMSHORT: DBUS_SERVER_FLAGS 1146s # ENUMPREFIX: G 1146s # enumsince: 1146s # type: flags 1146s # Type: Flags 1146s # TYPE: FLAGS 1146s # file-tail 1146s # 1146s # comment 1146s # comment: Generated data ends here 1147s ok 5 __main__.TestMkenums.test_empty_header 1147s # tmpdir: /tmp/tmptk8kah7j 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmptk8kah7j/tmpi6t8kegx.h: 1147s # /tmp/tmptk8kah7j/tmpff2gqga0.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptk8kah7j/tmpff2gqga0.template', '/tmp/tmptk8kah7j/tmpi6t8kegx.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 6 __main__.TestMkenums.test_empty_template 1147s # tmpdir: /tmp/tmp7tg8kxzk 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmp7tg8kxzk/tmp38u9ujo7.template: 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7tg8kxzk/tmp38u9ujo7.template'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # 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. */ 1147s # 1147s # 1147s # /* Generated data ends here */ 1147s ok 7 __main__.TestMkenums.test_enum_name 1147s # tmpdir: /tmp/tmp_ay6p6pv 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmp_ay6p6pv/tmpbgvxrdo1.h: 1147s # typedef enum _SomeEnumIdentifier { 1147s # ENUM_VALUE 1147s # } SomeEnumIdentifier; 1147s # 1147s # /tmp/tmp_ay6p6pv/tmpe_5_7o4c.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_ay6p6pv/tmpe_5_7o4c.template', '/tmp/tmp_ay6p6pv/tmpbgvxrdo1.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp_ay6p6pv/tmpbgvxrdo1.h 1147s # basename: tmpbgvxrdo1.h 1147s # enumeration-production 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE 1147s # valuenick: value 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 8 __main__.TestMkenums.test_enum_private_public 1147s # tmpdir: /tmp/tmppewxmpl1 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmppewxmpl1/tmpvvyrud7i.h: 1147s # typedef enum { 1147s # ENUM_VALUE_PUBLIC1, 1147s # /*< private >*/ 1147s # ENUM_VALUE_PRIVATE, 1147s # } SomeEnumA 1147s # 1147s # /tmp/tmppewxmpl1/tmp2qu00b1w.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppewxmpl1/tmp2qu00b1w.template', '/tmp/tmppewxmpl1/tmpvvyrud7i.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmppewxmpl1/tmpvvyrud7i.h 1147s # basename: tmpvvyrud7i.h 1147s # enumeration-production 1147s # EnumName: SomeEnumA 1147s # enum_name: some_enum_a 1147s # ENUMNAME: SOME_ENUM_A 1147s # ENUMSHORT: ENUM_A 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumA 1147s # enum_name: some_enum_a 1147s # ENUMNAME: SOME_ENUM_A 1147s # ENUMSHORT: ENUM_A 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_PUBLIC1 1147s # valuenick: public1 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumA 1147s # enum_name: some_enum_a 1147s # ENUMNAME: SOME_ENUM_A 1147s # ENUMSHORT: ENUM_A 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # /tmp/tmppewxmpl1/tmpltci8lsm.h: 1147s # typedef enum { 1147s # /*< private >*/ 1147s # ENUM_VALUE_PRIVATE, 1147s # /*< public >*/ 1147s # ENUM_VALUE_PUBLIC2, 1147s # } SomeEnumB; 1147s # 1147s # /tmp/tmppewxmpl1/tmpg6jqv2ki.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppewxmpl1/tmpg6jqv2ki.template', '/tmp/tmppewxmpl1/tmpltci8lsm.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmppewxmpl1/tmpltci8lsm.h 1147s # basename: tmpltci8lsm.h 1147s # enumeration-production 1147s # EnumName: SomeEnumB 1147s # enum_name: some_enum_b 1147s # ENUMNAME: SOME_ENUM_B 1147s # ENUMSHORT: ENUM_B 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumB 1147s # enum_name: some_enum_b 1147s # ENUMNAME: SOME_ENUM_B 1147s # ENUMSHORT: ENUM_B 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_PUBLIC2 1147s # valuenick: public2 1147s # valuenum: 1 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumB 1147s # enum_name: some_enum_b 1147s # ENUMNAME: SOME_ENUM_B 1147s # ENUMSHORT: ENUM_B 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1147s # tmpdir: /tmp/tmpds9bob2i 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmpds9bob2i/tmptxlrt1q9.h: 1147s # typedef enum { 1147s # /*< private >*/ 1147s # ENUM_VALUE_PRIVATE = 5, 1147s # /*< public >*/ 1147s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1147s # } TestSymbolicEnum; 1147s # 1147s # /tmp/tmpds9bob2i/tmpbkn9_fiz.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpds9bob2i/tmpbkn9_fiz.template', '/tmp/tmpds9bob2i/tmptxlrt1q9.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmpds9bob2i/tmptxlrt1q9.h 1147s # basename: tmptxlrt1q9.h 1147s # enumeration-production 1147s # EnumName: TestSymbolicEnum 1147s # enum_name: test_symbolic_enum 1147s # ENUMNAME: TEST_SYMBOLIC_ENUM 1147s # ENUMSHORT: SYMBOLIC_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: TestSymbolicEnum 1147s # enum_name: test_symbolic_enum 1147s # ENUMNAME: TEST_SYMBOLIC_ENUM 1147s # ENUMSHORT: SYMBOLIC_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_PUBLIC 1147s # valuenick: public 1147s # valuenum: 7 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: TestSymbolicEnum 1147s # enum_name: test_symbolic_enum 1147s # ENUMNAME: TEST_SYMBOLIC_ENUM 1147s # ENUMSHORT: SYMBOLIC_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1147s # tmpdir: /tmp/tmpgvg5d78a 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmpgvg5d78a/tmp73mtnvam.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-tail ***/ 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgvg5d78a/tmp73mtnvam.template'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # file-tail 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 11 __main__.TestMkenums.test_help 1147s # tmpdir: /tmp/tmpyvhg02o2 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # Running: ['/usr/bin/glib-mkenums', '--help'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1147s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1147s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1147s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1147s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1147s # [--output OUTPUT] [--version] 1147s # [args ...] 1147s # 1147s # positional arguments: 1147s # args One or more input files, or a single argument 1147s # @rspfile_path pointing to a file that contains the 1147s # actual arguments 1147s # 1147s # options: 1147s # -h, --help show this help message and exit 1147s # --identifier-prefix IDPREFIX 1147s # Identifier prefix 1147s # --symbol-prefix SYMPREFIX 1147s # Symbol prefix 1147s # --fhead FHEAD Output file header 1147s # --ftail FTAIL Output file footer 1147s # --fprod FPROD Put out TEXT every time a new input file is being 1147s # processed. 1147s # --eprod EPROD Per enum text, produced prior to value iterations 1147s # --vhead VHEAD Value header, produced before iterating over enum 1147s # values 1147s # --vprod VPROD Value text, produced for each enum value. 1147s # --vtail VTAIL Value tail, produced after iterating over enum values 1147s # --comments COMMENT_TMPL 1147s # Comment structure 1147s # --template TEMPLATE Template file 1147s # --output OUTPUT 1147s # --version, -v Print version information 1147s # 1147s # Production text substitutions: 1147s # @EnumName@ PrefixTheXEnum 1147s # @enum_name@ prefix_the_xenum 1147s # @ENUMNAME@ PREFIX_THE_XENUM 1147s # @ENUMSHORT@ THE_XENUM 1147s # @ENUMPREFIX@ PREFIX 1147s # @enumsince@ the user-provided since value given 1147s # @VALUENAME@ PREFIX_THE_XVALUE 1147s # @valuenick@ the-xvalue 1147s # @valuenum@ the integer value (limited support, Since: 2.26) 1147s # @type@ either enum or flags 1147s # @Type@ either Enum or Flags 1147s # @TYPE@ either ENUM or FLAGS 1147s # @filename@ name of current input file 1147s # @basename@ base name of the current input file (Since: 2.22) 1147s ok 12 __main__.TestMkenums.test_no_args 1147s # tmpdir: /tmp/tmppp01hhg0 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # Running: ['/usr/bin/glib-mkenums'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # 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. */ 1147s # 1147s # 1147s # /* Generated data ends here */ 1147s ok 13 __main__.TestMkenums.test_no_headers 1147s # tmpdir: /tmp/tmpmk0vqu8h 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmpmk0vqu8h/tmpmlxri8ix.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmk0vqu8h/tmpmlxri8ix.template'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 14 __main__.TestMkenums.test_no_nick 1147s # tmpdir: /tmp/tmpnvgsbhv8 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmpnvgsbhv8/tmp_7c4285o.h: 1147s # typedef enum { 1147s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1147s # } GeglSamplerType; 1147s # 1147s # /tmp/tmpnvgsbhv8/tmp59yscnai.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnvgsbhv8/tmp59yscnai.template', '/tmp/tmpnvgsbhv8/tmp_7c4285o.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmpnvgsbhv8/tmp_7c4285o.h 1147s # basename: tmp_7c4285o.h 1147s # enumeration-production 1147s # EnumName: GeglSamplerType 1147s # enum_name: gegl_sampler_type 1147s # ENUMNAME: GEGL_SAMPLER_TYPE 1147s # ENUMSHORT: SAMPLER_TYPE 1147s # ENUMPREFIX: GEGL 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: GeglSamplerType 1147s # enum_name: gegl_sampler_type 1147s # ENUMNAME: GEGL_SAMPLER_TYPE 1147s # ENUMSHORT: SAMPLER_TYPE 1147s # ENUMPREFIX: GEGL 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: GEGL_SAMPLER_NEAREST 1147s # valuenick: nearest 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: GeglSamplerType 1147s # enum_name: gegl_sampler_type 1147s # ENUMNAME: GEGL_SAMPLER_TYPE 1147s # ENUMSHORT: SAMPLER_TYPE 1147s # ENUMPREFIX: GEGL 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1147s # tmpdir: /tmp/tmppknc7zdi 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmppknc7zdi/tmpkgozka7h.h: 1147s # /* Copyright © La Peña */ 1147s # typedef enum { 1147s # ENUM_VALUE 1147s # } SomeEnumIdentifier; 1147s # 1147s # /tmp/tmppknc7zdi/tmpkbuenyt6.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppknc7zdi/tmpkbuenyt6.template', '/tmp/tmppknc7zdi/tmpkgozka7h.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmppknc7zdi/tmpkgozka7h.h 1147s # basename: tmpkgozka7h.h 1147s # enumeration-production 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE 1147s # valuenick: value 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 16 __main__.TestMkenums.test_reproducible 1147s # tmpdir: /tmp/tmp30ac62zd 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmp30ac62zd/tmpef6_44d6.template: template 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp30ac62zd/tmpef6_44d6.template', '/tmp/tmp30ac62zd/tmp4udpvhms1.h', '/tmp/tmp30ac62zd/tmpqtj0tfm52.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # 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. */ 1147s # 1147s # 1147s # /* Generated data ends here */ 1147s # /tmp/tmp30ac62zd/tmpz3zoah7h.template: template 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp30ac62zd/tmpz3zoah7h.template', '/tmp/tmp30ac62zd/tmpqtj0tfm52.h', '/tmp/tmp30ac62zd/tmp4udpvhms1.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # 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. */ 1147s # 1147s # 1147s # /* Generated data ends here */ 1147s ok 17 __main__.TestMkenums.test_since 1147s # tmpdir: /tmp/tmp76znawpn 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmp76znawpn/tmpxitde1na.h: 1147s # typedef enum { /*< since=1.0 >*/ 1147s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1147s # } QmiWmsMessageProtocol; 1147s # 1147s # /tmp/tmp76znawpn/tmp1wqpwzn8.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp76znawpn/tmp1wqpwzn8.template', '/tmp/tmp76znawpn/tmpxitde1na.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp76znawpn/tmpxitde1na.h 1147s # basename: tmpxitde1na.h 1147s # enumeration-production 1147s # EnumName: QmiWmsMessageProtocol 1147s # enum_name: qmi_wms_message_protocol 1147s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1147s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1147s # ENUMPREFIX: QMI 1147s # enumsince: 1.0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: QmiWmsMessageProtocol 1147s # enum_name: qmi_wms_message_protocol 1147s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1147s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1147s # ENUMPREFIX: QMI 1147s # enumsince: 1.0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1147s # valuenick: cdma 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: QmiWmsMessageProtocol 1147s # enum_name: qmi_wms_message_protocol 1147s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1147s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1147s # ENUMPREFIX: QMI 1147s # enumsince: 1.0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s ok 18 __main__.TestMkenums.test_with_double_quotes 1147s # tmpdir: /tmp/tmphs12sgwg 1147s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1147s # /tmp/tmphs12sgwg/tmppapko9qu.h: 1147s # typedef enum { 1147s # FOO_VALUE /*< nick="eek, a comma" >*/ 1147s # } Foo; 1147s # 1147s # /tmp/tmphs12sgwg/tmpb2n5uexn.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphs12sgwg/tmpb2n5uexn.template', '/tmp/tmphs12sgwg/tmppapko9qu.h'] 1147s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1147s # Output: comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmphs12sgwg/tmppapko9qu.h 1147s # basename: tmppapko9qu.h 1147s # enumeration-production 1147s # EnumName: Foo 1147s # enum_name: foo_ 1147s # ENUMNAME: FOO_ 1147s # ENUMSHORT: 1147s # ENUMPREFIX: FOO 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: Foo 1147s # enum_name: foo_ 1147s # ENUMNAME: FOO_ 1147s # ENUMSHORT: 1147s # ENUMPREFIX: FOO 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: FOO_VALUE 1147s # valuenick: eek, a comma 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: Foo 1147s # enum_name: foo_ 1147s # ENUMNAME: FOO_ 1147s # ENUMSHORT: 1147s # ENUMPREFIX: FOO 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1148s ok 19 __main__.TestRspMkenums.test_available_in 1148s # tmpdir: /tmp/tmp521w387d 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmp521w387d/tmpiionn84v.h: 1148s # typedef enum { 1148s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1148s # } GDBusServerFlags; 1148s # 1148s # /tmp/tmp521w387d/tmpwnjdvv4_.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp521w387d/tmpwnjdvv4_.template /tmp/tmp521w387d/tmpiionn84v.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp521w387d/tmpl67p6pbu'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmp521w387d/tmpiionn84v.h 1148s # basename: tmpiionn84v.h 1148s # enumeration-production 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1148s # valuenick: user 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1148s # tmpdir: /tmp/tmp5n4sqyqk 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmp5n4sqyqk/tmpexixbk7k.h: 1148s # typedef enum { 1148s # ENUM_VALUE_WITH_COMMA = ',', 1148s # } TestCommaEnum; 1148s # 1148s # /tmp/tmp5n4sqyqk/tmp0ycvy6gh.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp5n4sqyqk/tmp0ycvy6gh.template /tmp/tmp5n4sqyqk/tmpexixbk7k.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5n4sqyqk/tmp8_6aodwf'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmp5n4sqyqk/tmpexixbk7k.h 1148s # basename: tmpexixbk7k.h 1148s # enumeration-production 1148s # EnumName: TestCommaEnum 1148s # enum_name: test_comma_enum 1148s # ENUMNAME: TEST_COMMA_ENUM 1148s # ENUMSHORT: COMMA_ENUM 1148s # ENUMPREFIX: TEST 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-header 1148s # EnumName: TestCommaEnum 1148s # enum_name: test_comma_enum 1148s # ENUMNAME: TEST_COMMA_ENUM 1148s # ENUMSHORT: COMMA_ENUM 1148s # ENUMPREFIX: TEST 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-production 1148s # VALUENAME: ENUM_VALUE_WITH_COMMA 1148s # valuenick: comma 1148s # valuenum: 44 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-tail 1148s # EnumName: TestCommaEnum 1148s # enum_name: test_comma_enum 1148s # ENUMNAME: TEST_COMMA_ENUM 1148s # ENUMSHORT: COMMA_ENUM 1148s # ENUMPREFIX: TEST 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 21 __main__.TestRspMkenums.test_deprecated_in 1148s # tmpdir: /tmp/tmp8qasyn1p 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmp8qasyn1p/tmpngxgxqh1.h: 1148s # typedef enum { 1148s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1148s # } GDBusServerFlags; 1148s # 1148s # /tmp/tmp8qasyn1p/tmp63k4o947.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp8qasyn1p/tmp63k4o947.template /tmp/tmp8qasyn1p/tmpngxgxqh1.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8qasyn1p/tmpiuy4atxf'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmp8qasyn1p/tmpngxgxqh1.h 1148s # basename: tmpngxgxqh1.h 1148s # enumeration-production 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1148s # valuenick: user 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1148s # tmpdir: /tmp/tmpnktd7tn8 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmpnktd7tn8/tmp32g9k0k1.h: 1148s # typedef enum { 1148s # 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) 1148s # } GDBusServerFlags; 1148s # 1148s # /tmp/tmpnktd7tn8/tmpcsdi8195.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmpnktd7tn8/tmpcsdi8195.template /tmp/tmpnktd7tn8/tmp32g9k0k1.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnktd7tn8/tmpfanta8v0'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmpnktd7tn8/tmp32g9k0k1.h 1148s # basename: tmp32g9k0k1.h 1148s # enumeration-production 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1148s # valuenick: user 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: GDBusServerFlags 1148s # enum_name: g_dbus_server_flags 1148s # ENUMNAME: G_DBUS_SERVER_FLAGS 1148s # ENUMSHORT: DBUS_SERVER_FLAGS 1148s # ENUMPREFIX: G 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 23 __main__.TestRspMkenums.test_empty_header 1148s # tmpdir: /tmp/tmp87jstyxh 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmp87jstyxh/tmpqzxhqn1h.h: 1148s # /tmp/tmp87jstyxh/tmpa83dyok7.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp87jstyxh/tmpa83dyok7.template /tmp/tmp87jstyxh/tmpqzxhqn1h.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp87jstyxh/tmpzusoj2wd'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 24 __main__.TestRspMkenums.test_empty_template 1148s # tmpdir: /tmp/tmpza3w2k6p 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmpza3w2k6p/tmp26l_ictz.template: 1148s # Response file contains: --template /tmp/tmpza3w2k6p/tmp26l_ictz.template 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpza3w2k6p/tmp4rrxvvsy'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # 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. */ 1148s # 1148s # 1148s # /* Generated data ends here */ 1148s ok 25 __main__.TestRspMkenums.test_enum_name 1148s # tmpdir: /tmp/tmp8mc_3b4h 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmp8mc_3b4h/tmp5uwdse96.h: 1148s # typedef enum _SomeEnumIdentifier { 1148s # ENUM_VALUE 1148s # } SomeEnumIdentifier; 1148s # 1148s # /tmp/tmp8mc_3b4h/tmp3pbebbgr.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp8mc_3b4h/tmp3pbebbgr.template /tmp/tmp8mc_3b4h/tmp5uwdse96.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8mc_3b4h/tmpitnuq42k'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmp8mc_3b4h/tmp5uwdse96.h 1148s # basename: tmp5uwdse96.h 1148s # enumeration-production 1148s # EnumName: SomeEnumIdentifier 1148s # enum_name: some_enum_identifier 1148s # ENUMNAME: SOME_ENUM_IDENTIFIER 1148s # ENUMSHORT: ENUM_IDENTIFIER 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-header 1148s # EnumName: SomeEnumIdentifier 1148s # enum_name: some_enum_identifier 1148s # ENUMNAME: SOME_ENUM_IDENTIFIER 1148s # ENUMSHORT: ENUM_IDENTIFIER 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-production 1148s # VALUENAME: ENUM_VALUE 1148s # valuenick: value 1148s # valuenum: 0 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-tail 1148s # EnumName: SomeEnumIdentifier 1148s # enum_name: some_enum_identifier 1148s # ENUMNAME: SOME_ENUM_IDENTIFIER 1148s # ENUMSHORT: ENUM_IDENTIFIER 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 26 __main__.TestRspMkenums.test_enum_private_public 1148s # tmpdir: /tmp/tmp22qk8xug 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmp22qk8xug/tmpz3yym_en.h: 1148s # typedef enum { 1148s # ENUM_VALUE_PUBLIC1, 1148s # /*< private >*/ 1148s # ENUM_VALUE_PRIVATE, 1148s # } SomeEnumA 1148s # 1148s # /tmp/tmp22qk8xug/tmpj2z25k8m.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp22qk8xug/tmpj2z25k8m.template /tmp/tmp22qk8xug/tmpz3yym_en.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp22qk8xug/tmppz4ydt83'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmp22qk8xug/tmpz3yym_en.h 1148s # basename: tmpz3yym_en.h 1148s # enumeration-production 1148s # EnumName: SomeEnumA 1148s # enum_name: some_enum_a 1148s # ENUMNAME: SOME_ENUM_A 1148s # ENUMSHORT: ENUM_A 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-header 1148s # EnumName: SomeEnumA 1148s # enum_name: some_enum_a 1148s # ENUMNAME: SOME_ENUM_A 1148s # ENUMSHORT: ENUM_A 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-production 1148s # VALUENAME: ENUM_VALUE_PUBLIC1 1148s # valuenick: public1 1148s # valuenum: 0 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-tail 1148s # EnumName: SomeEnumA 1148s # enum_name: some_enum_a 1148s # ENUMNAME: SOME_ENUM_A 1148s # ENUMSHORT: ENUM_A 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # /tmp/tmp22qk8xug/tmplvn72pot.h: 1148s # typedef enum { 1148s # /*< private >*/ 1148s # ENUM_VALUE_PRIVATE, 1148s # /*< public >*/ 1148s # ENUM_VALUE_PUBLIC2, 1148s # } SomeEnumB; 1148s # 1148s # /tmp/tmp22qk8xug/tmpxf8y276w.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmp22qk8xug/tmpxf8y276w.template /tmp/tmp22qk8xug/tmplvn72pot.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp22qk8xug/tmpbda5jodn'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmp22qk8xug/tmplvn72pot.h 1148s # basename: tmplvn72pot.h 1148s # enumeration-production 1148s # EnumName: SomeEnumB 1148s # enum_name: some_enum_b 1148s # ENUMNAME: SOME_ENUM_B 1148s # ENUMSHORT: ENUM_B 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-header 1148s # EnumName: SomeEnumB 1148s # enum_name: some_enum_b 1148s # ENUMNAME: SOME_ENUM_B 1148s # ENUMSHORT: ENUM_B 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-production 1148s # VALUENAME: ENUM_VALUE_PUBLIC2 1148s # valuenick: public2 1148s # valuenum: 1 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-tail 1148s # EnumName: SomeEnumB 1148s # enum_name: some_enum_b 1148s # ENUMNAME: SOME_ENUM_B 1148s # ENUMSHORT: ENUM_B 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1148s # tmpdir: /tmp/tmpub8fkfsb 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmpub8fkfsb/tmpr1ej1h7c.h: 1148s # typedef enum { 1148s # /*< private >*/ 1148s # ENUM_VALUE_PRIVATE = 5, 1148s # /*< public >*/ 1148s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1148s # } TestSymbolicEnum; 1148s # 1148s # /tmp/tmpub8fkfsb/tmpmsio4mpt.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmpub8fkfsb/tmpmsio4mpt.template /tmp/tmpub8fkfsb/tmpr1ej1h7c.h 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpub8fkfsb/tmpbr0ev7w2'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmpub8fkfsb/tmpr1ej1h7c.h 1148s # basename: tmpr1ej1h7c.h 1148s # enumeration-production 1148s # EnumName: TestSymbolicEnum 1148s # enum_name: test_symbolic_enum 1148s # ENUMNAME: TEST_SYMBOLIC_ENUM 1148s # ENUMSHORT: SYMBOLIC_ENUM 1148s # ENUMPREFIX: TEST 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-header 1148s # EnumName: TestSymbolicEnum 1148s # enum_name: test_symbolic_enum 1148s # ENUMNAME: TEST_SYMBOLIC_ENUM 1148s # ENUMSHORT: SYMBOLIC_ENUM 1148s # ENUMPREFIX: TEST 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-production 1148s # VALUENAME: ENUM_VALUE_PUBLIC 1148s # valuenick: public 1148s # valuenum: 7 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # value-tail 1148s # EnumName: TestSymbolicEnum 1148s # enum_name: test_symbolic_enum 1148s # ENUMNAME: TEST_SYMBOLIC_ENUM 1148s # ENUMSHORT: SYMBOLIC_ENUM 1148s # ENUMPREFIX: TEST 1148s # enumsince: 1148s # type: enum 1148s # Type: Enum 1148s # TYPE: ENUM 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1148s # tmpdir: /tmp/tmpj93kxoh5 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmpj93kxoh5/tmp07simj_x.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-tail ***/ 1148s # Response file contains: --template /tmp/tmpj93kxoh5/tmp07simj_x.template 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj93kxoh5/tmpgdnsf4c6'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # file-tail 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s ok 29 __main__.TestRspMkenums.test_help 1148s # tmpdir: /tmp/tmpz4pyjls_ 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # Response file contains: --help 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz4pyjls_/tmpj9mxcn5o'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1148s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1148s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1148s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1148s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1148s # [--output OUTPUT] [--version] 1148s # [args ...] 1148s # 1148s # positional arguments: 1148s # args One or more input files, or a single argument 1148s # @rspfile_path pointing to a file that contains the 1148s # actual arguments 1148s # 1148s # options: 1148s # -h, --help show this help message and exit 1148s # --identifier-prefix IDPREFIX 1148s # Identifier prefix 1148s # --symbol-prefix SYMPREFIX 1148s # Symbol prefix 1148s # --fhead FHEAD Output file header 1148s # --ftail FTAIL Output file footer 1148s # --fprod FPROD Put out TEXT every time a new input file is being 1148s # processed. 1148s # --eprod EPROD Per enum text, produced prior to value iterations 1148s # --vhead VHEAD Value header, produced before iterating over enum 1148s # values 1148s # --vprod VPROD Value text, produced for each enum value. 1148s # --vtail VTAIL Value tail, produced after iterating over enum values 1148s # --comments COMMENT_TMPL 1148s # Comment structure 1148s # --template TEMPLATE Template file 1148s # --output OUTPUT 1148s # --version, -v Print version information 1148s # 1148s # Production text substitutions: 1148s # @EnumName@ PrefixTheXEnum 1148s # @enum_name@ prefix_the_xenum 1148s # @ENUMNAME@ PREFIX_THE_XENUM 1148s # @ENUMSHORT@ THE_XENUM 1148s # @ENUMPREFIX@ PREFIX 1148s # @enumsince@ the user-provided since value given 1148s # @VALUENAME@ PREFIX_THE_XVALUE 1148s # @valuenick@ the-xvalue 1148s # @valuenum@ the integer value (limited support, Since: 2.26) 1148s # @type@ either enum or flags 1148s # @Type@ either Enum or Flags 1148s # @TYPE@ either ENUM or FLAGS 1148s # @filename@ name of current input file 1148s # @basename@ base name of the current input file (Since: 2.22) 1148s ok 30 __main__.TestRspMkenums.test_no_args 1148s # tmpdir: /tmp/tmpgexo3zhs 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # Response file contains: 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgexo3zhs/tmp_m8or7fa'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # 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. */ 1148s # 1148s # 1148s # /* Generated data ends here */ 1148s ok 31 __main__.TestRspMkenums.test_no_headers 1148s # tmpdir: /tmp/tmpg0hhaarn 1148s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1148s # /tmp/tmpg0hhaarn/tmppmbboue5.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Response file contains: --template /tmp/tmpg0hhaarn/tmppmbboue5.template 1148s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg0hhaarn/tmp3kj_v9e8'] 1148s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1148s # Output: comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1149s ok 32 __main__.TestRspMkenums.test_no_nick 1149s # tmpdir: /tmp/tmpotqe_x4x 1149s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1149s # /tmp/tmpotqe_x4x/tmpyhvzkim8.h: 1149s # typedef enum { 1149s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1149s # } GeglSamplerType; 1149s # 1149s # /tmp/tmpotqe_x4x/tmp4bvn5_77.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmpotqe_x4x/tmp4bvn5_77.template /tmp/tmpotqe_x4x/tmpyhvzkim8.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpotqe_x4x/tmpsdussypf'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpotqe_x4x/tmpyhvzkim8.h 1149s # basename: tmpyhvzkim8.h 1149s # enumeration-production 1149s # EnumName: GeglSamplerType 1149s # enum_name: gegl_sampler_type 1149s # ENUMNAME: GEGL_SAMPLER_TYPE 1149s # ENUMSHORT: SAMPLER_TYPE 1149s # ENUMPREFIX: GEGL 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: GeglSamplerType 1149s # enum_name: gegl_sampler_type 1149s # ENUMNAME: GEGL_SAMPLER_TYPE 1149s # ENUMSHORT: SAMPLER_TYPE 1149s # ENUMPREFIX: GEGL 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: GEGL_SAMPLER_NEAREST 1149s # valuenick: nearest 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: GeglSamplerType 1149s # enum_name: gegl_sampler_type 1149s # ENUMNAME: GEGL_SAMPLER_TYPE 1149s # ENUMSHORT: SAMPLER_TYPE 1149s # ENUMPREFIX: GEGL 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1149s # tmpdir: /tmp/tmpze7qbw06 1149s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1149s # /tmp/tmpze7qbw06/tmp_1v6kuqo.h: 1149s # /* Copyright © La Peña */ 1149s # typedef enum { 1149s # ENUM_VALUE 1149s # } SomeEnumIdentifier; 1149s # 1149s # /tmp/tmpze7qbw06/tmpkexug_qh.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmpze7qbw06/tmpkexug_qh.template /tmp/tmpze7qbw06/tmp_1v6kuqo.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpze7qbw06/tmpdwetz9t2'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpze7qbw06/tmp_1v6kuqo.h 1149s # basename: tmp_1v6kuqo.h 1149s # enumeration-production 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE 1149s # valuenick: value 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s ok 34 __main__.TestRspMkenums.test_reproducible 1149s # tmpdir: /tmp/tmp8m52x9c0 1149s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1149s # /tmp/tmp8m52x9c0/tmplare1tvf.template: template 1149s # Response file contains: --template /tmp/tmp8m52x9c0/tmplare1tvf.template /tmp/tmp8m52x9c0/tmpypoq8qi71.h /tmp/tmp8m52x9c0/tmphd_8qbbf2.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8m52x9c0/tmpp_e84poa'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # 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. */ 1149s # 1149s # 1149s # /* Generated data ends here */ 1149s # /tmp/tmp8m52x9c0/tmp581jiexz.template: template 1149s # Response file contains: --template /tmp/tmp8m52x9c0/tmp581jiexz.template /tmp/tmp8m52x9c0/tmphd_8qbbf2.h /tmp/tmp8m52x9c0/tmpypoq8qi71.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8m52x9c0/tmpwggd8_lo'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # 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. */ 1149s # 1149s # 1149s # /* Generated data ends here */ 1149s ok 35 __main__.TestRspMkenums.test_since 1149s # tmpdir: /tmp/tmpsnw2o3du 1149s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1149s # /tmp/tmpsnw2o3du/tmpd2g8utfq.h: 1149s # typedef enum { /*< since=1.0 >*/ 1149s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1149s # } QmiWmsMessageProtocol; 1149s # 1149s # /tmp/tmpsnw2o3du/tmpx24sdoas.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmpsnw2o3du/tmpx24sdoas.template /tmp/tmpsnw2o3du/tmpd2g8utfq.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsnw2o3du/tmppu1ix_lt'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpsnw2o3du/tmpd2g8utfq.h 1149s # basename: tmpd2g8utfq.h 1149s # enumeration-production 1149s # EnumName: QmiWmsMessageProtocol 1149s # enum_name: qmi_wms_message_protocol 1149s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1149s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1149s # ENUMPREFIX: QMI 1149s # enumsince: 1.0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: QmiWmsMessageProtocol 1149s # enum_name: qmi_wms_message_protocol 1149s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1149s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1149s # ENUMPREFIX: QMI 1149s # enumsince: 1.0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1149s # valuenick: cdma 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: QmiWmsMessageProtocol 1149s # enum_name: qmi_wms_message_protocol 1149s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1149s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1149s # ENUMPREFIX: QMI 1149s # enumsince: 1.0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1149s # tmpdir: /tmp/tmpn0ppzgzk 1149s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1149s # /tmp/tmpn0ppzgzk/tmp_qfsqajk.h: 1149s # typedef enum { 1149s # FOO_VALUE /*< nick="eek, a comma" >*/ 1149s # } Foo; 1149s # 1149s # /tmp/tmpn0ppzgzk/tmp_9wfb9qo.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmpn0ppzgzk/tmp_9wfb9qo.template /tmp/tmpn0ppzgzk/tmp_qfsqajk.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn0ppzgzk/tmpapj8_3l4'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpn0ppzgzk/tmp_qfsqajk.h 1149s # basename: tmp_qfsqajk.h 1149s # enumeration-production 1149s # EnumName: Foo 1149s # enum_name: foo_ 1149s # ENUMNAME: FOO_ 1149s # ENUMSHORT: 1149s # ENUMPREFIX: FOO 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: Foo 1149s # enum_name: foo_ 1149s # ENUMNAME: FOO_ 1149s # ENUMSHORT: 1149s # ENUMPREFIX: FOO 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: FOO_VALUE 1149s # valuenick: eek, a comma 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: Foo 1149s # enum_name: foo_ 1149s # ENUMNAME: FOO_ 1149s # ENUMSHORT: 1149s # ENUMPREFIX: FOO 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s 1..36 1149s ok - glib/mkenums.py.test 1149s # Running test: glib/codegen.py.test 1149s TAP version 13 1149s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1149s # tmpdir: /tmp/tmpnrsetfrg 1149s # codegen: /usr/bin/gdbus-codegen 1149s # /tmp/tmpnrsetfrg/tmpk1kqrldl.xml: 1149s # 1149s # 1149s # 1149s # 1149s # 1149s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnrsetfrg/tmpk1kqrldl.xml', '--output', '-', '--header'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: /* 1149s # * This file is generated by gdbus-codegen, do not modify it. 1149s # * 1149s # * The license of this code is the same as for the D-Bus interface description 1149s # * it was derived from. Note that it links to GLib, so must comply with the 1149s # * LGPL linking clauses. 1149s # */ 1149s # 1149s # #ifndef __STDOUT__ 1149s # #define __STDOUT__ 1149s # 1149s # #include 1149s # 1149s # G_BEGIN_DECLS 1149s # 1149s # 1149s # /* ------------------------------------------------------------------------ */ 1149s # /* Declarations for org.project.UsefulInterface */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1149s # 1149s # struct _OrgProjectUsefulInterface; 1149s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1149s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1149s # 1149s # struct _OrgProjectUsefulInterfaceIface 1149s # { 1149s # GTypeInterface parent_iface; 1149s # 1149s # gboolean (*handle_useful_method) ( 1149s # OrgProjectUsefulInterface *object, 1149s # GDBusMethodInvocation *invocation); 1149s # 1149s # }; 1149s # 1149s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1149s # 1149s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1149s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1149s # 1149s # 1149s # /* D-Bus method call completion functions: */ 1149s # void org_project_useful_interface_complete_useful_method ( 1149s # OrgProjectUsefulInterface *object, 1149s # GDBusMethodInvocation *invocation); 1149s # 1149s # 1149s # 1149s # /* D-Bus method calls: */ 1149s # void org_project_useful_interface_call_useful_method ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # 1149s # gboolean org_project_useful_interface_call_useful_method_finish ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # 1149s # gboolean org_project_useful_interface_call_useful_method_sync ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # 1149s # 1149s # /* ---- */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1149s # 1149s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1149s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1149s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1149s # 1149s # struct _OrgProjectUsefulInterfaceProxy 1149s # { 1149s # /*< private >*/ 1149s # GDBusProxy parent_instance; 1149s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1149s # }; 1149s # 1149s # struct _OrgProjectUsefulInterfaceProxyClass 1149s # { 1149s # GDBusProxyClass parent_class; 1149s # }; 1149s # 1149s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1149s # 1149s # #if GLIB_CHECK_VERSION(2, 44, 0) 1149s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1149s # #endif 1149s # 1149s # void org_project_useful_interface_proxy_new ( 1149s # GDBusConnection *connection, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1149s # GDBusConnection *connection, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # void org_project_useful_interface_proxy_new_for_bus ( 1149s # GBusType bus_type, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1149s # GBusType bus_type, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # 1149s # /* ---- */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1149s # 1149s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1149s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1149s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1149s # 1149s # struct _OrgProjectUsefulInterfaceSkeleton 1149s # { 1149s # /*< private >*/ 1149s # GDBusInterfaceSkeleton parent_instance; 1149s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1149s # }; 1149s # 1149s # struct _OrgProjectUsefulInterfaceSkeletonClass 1149s # { 1149s # GDBusInterfaceSkeletonClass parent_class; 1149s # }; 1149s # 1149s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1149s # 1149s # #if GLIB_CHECK_VERSION(2, 44, 0) 1149s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1149s # #endif 1149s # 1149s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1149s # 1149s # 1149s # G_END_DECLS 1149s # 1149s # #endif /* __STDOUT__ */ 1149s # /tmp/tmpnrsetfrg/tmpykgzou62.xml: 1149s # 1149s # 1149s # 1149s # 1149s # 1149s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnrsetfrg/tmpykgzou62.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: /* 1149s # * This file is generated by gdbus-codegen, do not modify it. 1149s # * 1149s # * The license of this code is the same as for the D-Bus interface description 1149s # * it was derived from. Note that it links to GLib, so must comply with the 1149s # * LGPL linking clauses. 1149s # */ 1149s # 1149s # #ifndef __STDOUT__ 1149s # #define __STDOUT__ 1149s # 1149s # #include 1149s # 1149s # G_BEGIN_DECLS 1149s # 1149s # 1149s # /* ------------------------------------------------------------------------ */ 1149s # /* Declarations for org.project.UsefulInterface */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1149s # 1149s # struct _OrgProjectUsefulInterface; 1149s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1149s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1149s # 1149s # struct _OrgProjectUsefulInterfaceIface 1149s # { 1149s # GTypeInterface parent_iface; 1149s # 1149s # gboolean (*handle_useful_method) ( 1149s # OrgProjectUsefulInterface *object, 1149s # GDBusMethodInvocation *invocation); 1149s # 1149s # }; 1149s # 1149s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1149s # 1149s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1149s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1149s # 1149s # 1149s # /* D-Bus method call completion functions: */ 1149s # void org_project_useful_interface_complete_useful_method ( 1149s # OrgProjectUsefulInterface *object, 1149s # GDBusMethodInvocation *invocation); 1149s # 1149s # 1149s # 1149s # /* D-Bus method calls: */ 1149s # void org_project_useful_interface_call_useful_method ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # 1149s # gboolean org_project_useful_interface_call_useful_method_finish ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # 1149s # gboolean org_project_useful_interface_call_useful_method_sync ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # 1149s # 1149s # /* ---- */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1149s # 1149s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1149s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1149s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1149s # 1149s # struct _OrgProjectUsefulInterfaceProxy 1149s # { 1149s # /*< private >*/ 1149s # GDBusProxy parent_instance; 1149s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1149s # }; 1149s # 1149s # struct _OrgProjectUsefulInterfaceProxyClass 1149s # { 1149s # GDBusProxyClass parent_class; 1149s # }; 1149s # 1149s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1149s # 1149s # #if GLIB_CHECK_VERSION(2, 44, 0) 1149s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1149s # #endif 1149s # 1149s # void org_project_useful_interface_proxy_new ( 1149s # GDBusConnection *connection, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1149s # GDBusConnection *connection, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # void org_project_useful_interface_proxy_new_for_bus ( 1149s # GBusType bus_type, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1149s # GBusType bus_type, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # 1149s # /* ---- */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1149s # 1149s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1149s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1149s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1149s # 1149s # struct _OrgProjectUsefulInterfaceSkeleton 1149s # { 1149s # /*< private >*/ 1149s # GDBusInterfaceSkeleton parent_instance; 1149s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1149s # }; 1149s # 1149s # struct _OrgProjectUsefulInterfaceSkeletonClass 1149s # { 1149s # GDBusInterfaceSkeletonClass parent_class; 1149s # }; 1149s # 1149s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1149s # 1149s # #if GLIB_CHECK_VERSION(2, 44, 0) 1149s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1149s # #endif 1149s # 1149s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1149s # 1149s # 1149s # G_END_DECLS 1149s # 1149s # #endif /* __STDOUT__ */ 1149s # /tmp/tmpnrsetfrg/tmpt0x2f79u.xml: 1149s # 1149s # 1149s # 1149s # 1149s # 1149s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnrsetfrg/tmpt0x2f79u.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1149s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1149s # Output: /* 1149s # * This file is generated by gdbus-codegen, do not modify it. 1149s # * 1149s # * The license of this code is the same as for the D-Bus interface description 1149s # * it was derived from. Note that it links to GLib, so must comply with the 1149s # * LGPL linking clauses. 1149s # */ 1149s # 1149s # #ifndef __STDOUT__ 1149s # #define __STDOUT__ 1149s # 1149s # #include 1149s # 1149s # G_BEGIN_DECLS 1149s # 1149s # 1149s # /* ------------------------------------------------------------------------ */ 1149s # /* Declarations for org.project.UsefulInterface */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1149s # 1149s # struct _OrgProjectUsefulInterface; 1149s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1149s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1149s # 1149s # struct _OrgProjectUsefulInterfaceIface 1149s # { 1149s # GTypeInterface parent_iface; 1149s # 1149s # gboolean (*handle_useful_method) ( 1149s # OrgProjectUsefulInterface *object, 1149s # GDBusMethodInvocation *invocation); 1149s # 1149s # }; 1149s # 1149s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1149s # 1149s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1149s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1149s # 1149s # 1149s # /* D-Bus method call completion functions: */ 1149s # void org_project_useful_interface_complete_useful_method ( 1149s # OrgProjectUsefulInterface *object, 1149s # GDBusMethodInvocation *invocation); 1149s # 1149s # 1149s # 1149s # /* D-Bus method calls: */ 1149s # void org_project_useful_interface_call_useful_method ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GDBusCallFlags call_flags, 1149s # gint timeout_msec, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # 1149s # gboolean org_project_useful_interface_call_useful_method_finish ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # 1149s # gboolean org_project_useful_interface_call_useful_method_sync ( 1149s # OrgProjectUsefulInterface *proxy, 1149s # GDBusCallFlags call_flags, 1149s # gint timeout_msec, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # 1149s # 1149s # /* ---- */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1149s # 1149s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1149s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1149s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1149s # 1149s # struct _OrgProjectUsefulInterfaceProxy 1149s # { 1149s # /*< private >*/ 1149s # GDBusProxy parent_instance; 1149s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1149s # }; 1149s # 1149s # struct _OrgProjectUsefulInterfaceProxyClass 1149s # { 1149s # GDBusProxyClass parent_class; 1149s # }; 1149s # 1149s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1149s # 1149s # #if GLIB_CHECK_VERSION(2, 44, 0) 1149s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1149s # #endif 1149s # 1149s # void org_project_useful_interface_proxy_new ( 1149s # GDBusConnection *connection, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1149s # GDBusConnection *connection, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # void org_project_useful_interface_proxy_new_for_bus ( 1149s # GBusType bus_type, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GAsyncReadyCallback callback, 1149s # gpointer user_data); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1149s # GAsyncResult *res, 1149s # GError **error); 1149s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1149s # GBusType bus_type, 1149s # GDBusProxyFlags flags, 1149s # const gchar *name, 1149s # const gchar *object_path, 1149s # GCancellable *cancellable, 1149s # GError **error); 1149s # 1149s # 1149s # /* ---- */ 1149s # 1149s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1149s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1149s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1149s # 1149s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1149s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1149s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1149s # 1149s # struct _OrgProjectUsefulInterfaceSkeleton 1149s # { 1149s # /*< private >*/ 1149s # GDBusInterfaceSkeleton parent_instance; 1149s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1149s # }; 1149s # 1149s # struct _OrgProjectUsefulInterfaceSkeletonClass 1149s # { 1149s # GDBusInterfaceSkeletonClass parent_class; 1149s # }; 1149s # 1149s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1149s # 1149s # #if GLIB_CHECK_VERSION(2, 44, 0) 1149s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1149s # #endif 1149s # 1149s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1149s # 1149s # 1149s # G_END_DECLS 1149s # 1149s # #endif /* __STDOUT__ */ 1150s ok 2 __main__.TestCodegen.test_dbus_types 1150s # tmpdir: /tmp/tmpwqnd1vpa 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmpwqnd1vpa/tmpysu8kfoc.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpysu8kfoc.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpiavbe09l.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpiavbe09l.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpftf8_1xa.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpftf8_1xa.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpypz6uljp.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpypz6uljp.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmp0h0byef8.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmp0h0byef8.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpwgnyn3_i.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpwgnyn3_i.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpmszbpjxj.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpmszbpjxj.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpfacfy3o2.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpfacfy3o2.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpvv23o__e.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpvv23o__e.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmp8on13rvx.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmp8on13rvx.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpxu8uuqa0.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpxu8uuqa0.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmp6dwoh60a.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmp6dwoh60a.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmpiadc887s.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpiadc887s.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # /tmp/tmpwqnd1vpa/tmp22i_grp8.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmp22i_grp8.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifdef HAVE_CONFIG_H 1150s # # include "config.h" 1150s # #endif 1150s # 1150s # #include 1150s # #ifdef G_OS_UNIX 1150s # # include 1150s # #endif 1150s # 1150s # #ifdef G_ENABLE_DEBUG 1150s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1150s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1150s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1150s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1150s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1150s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1150s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1150s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1150s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1150s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1150s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1150s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1150s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1150s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1150s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1150s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1150s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1150s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1150s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1150s # #else /* !G_ENABLE_DEBUG */ 1150s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1150s # * Do not access GValues directly in your code. Instead, use the 1150s # * g_value_get_*() functions 1150s # */ 1150s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1150s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1150s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1150s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1150s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1150s # #endif /* !G_ENABLE_DEBUG */ 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusArgInfo parent_struct; 1150s # gboolean use_gvariant; 1150s # } _ExtendedGDBusArgInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusMethodInfo parent_struct; 1150s # const gchar *signal_name; 1150s # gboolean pass_fdlist; 1150s # } _ExtendedGDBusMethodInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusSignalInfo parent_struct; 1150s # const gchar *signal_name; 1150s # } _ExtendedGDBusSignalInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusPropertyInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # guint use_gvariant : 1; 1150s # guint emits_changed_signal : 1; 1150s # } _ExtendedGDBusPropertyInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusInterfaceInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # } _ExtendedGDBusInterfaceInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # guint prop_id; 1150s # GValue orig_value; /* the value before the change */ 1150s # } ChangedProperty; 1150s # 1150s # static void 1150s # _changed_property_free (ChangedProperty *data) 1150s # { 1150s # g_value_unset (&data->orig_value); 1150s # g_free (data); 1150s # } 1150s # 1150s # static gboolean 1150s # _g_strv_equal0 (gchar **a, gchar **b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # guint n; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # if (g_strv_length (a) != g_strv_length (b)) 1150s # goto out; 1150s # for (n = 0; a[n] != NULL; n++) 1150s # if (g_strcmp0 (a[n], b[n]) != 0) 1150s # goto out; 1150s # ret = TRUE; 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _g_variant_equal0 (GVariant *a, GVariant *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # ret = g_variant_equal (a, b); 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # G_GNUC_UNUSED static gboolean 1150s # _g_value_equal (const GValue *a, const GValue *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1150s # switch (G_VALUE_TYPE (a)) 1150s # { 1150s # case G_TYPE_BOOLEAN: 1150s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1150s # break; 1150s # case G_TYPE_UCHAR: 1150s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1150s # break; 1150s # case G_TYPE_INT: 1150s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1150s # break; 1150s # case G_TYPE_UINT: 1150s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1150s # break; 1150s # case G_TYPE_INT64: 1150s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1150s # break; 1150s # case G_TYPE_UINT64: 1150s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1150s # break; 1150s # case G_TYPE_DOUBLE: 1150s # { 1150s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1150s # gdouble da = g_value_get_double (a); 1150s # gdouble db = g_value_get_double (b); 1150s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1150s # } 1150s # break; 1150s # case G_TYPE_STRING: 1150s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1150s # break; 1150s # case G_TYPE_VARIANT: 1150s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1150s # break; 1150s # default: 1150s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1150s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1150s # else 1150s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1150s # break; 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # /* ------------------------------------------------------------------------ 1150s # * Code for interface GoodTypes 1150s # * ------------------------------------------------------------------------ 1150s # */ 1150s # 1150s # /** 1150s # * SECTION:GoodTypes 1150s # * @title: GoodTypes 1150s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1150s # * 1150s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1150s # */ 1150s # 1150s # /* ---- Introspection data for GoodTypes ---- */ 1150s # 1150s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1150s # { 1150s # { 1150s # -1, 1150s # (gchar *) "GoodPropertyType", 1150s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1150s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1150s # NULL 1150s # }, 1150s # "good-property-type", 1150s # FALSE, 1150s # TRUE 1150s # }; 1150s # 1150s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1150s # { 1150s # &_good_types_property_info_good_property_type.parent_struct, 1150s # NULL 1150s # }; 1150s # 1150s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1150s # { 1150s # { 1150s # -1, 1150s # (gchar *) "GoodTypes", 1150s # NULL, 1150s # NULL, 1150s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1150s # NULL 1150s # }, 1150s # "good-types", 1150s # }; 1150s # 1150s # 1150s # /** 1150s # * good_types_interface_info: 1150s # * 1150s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1150s # * 1150s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1150s # */ 1150s # GDBusInterfaceInfo * 1150s # good_types_interface_info (void) 1150s # { 1150s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1150s # } 1150s # 1150s # /** 1150s # * good_types_override_properties: 1150s # * @klass: The class structure for a #GObject derived class. 1150s # * @property_id_begin: The property id to assign to the first overridden property. 1150s # * 1150s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1150s # * The properties are overridden in the order they are defined. 1150s # * 1150s # * Returns: The last property id. 1150s # */ 1150s # guint 1150s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1150s # { 1150s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1150s # return property_id_begin - 1; 1150s # } 1150s # 1150s # 1150s # 1150s # /** 1150s # * GoodTypes: 1150s # * 1150s # * Abstract interface type for the D-Bus interface GoodTypes. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesIface: 1150s # * @parent_iface: The parent interface. 1150s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1150s # * 1150s # * Virtual table for the D-Bus interface GoodTypes. 1150s # */ 1150s # 1150s # typedef GoodTypesIface GoodTypesInterface; 1150s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1150s # 1150s # static void 1150s # good_types_default_init (GoodTypesIface *iface) 1150s # { 1150s # /* GObject properties for D-Bus properties: */ 1150s # /** 1150s # * GoodTypes:good-property-type: 1150s # * 1150s # * Represents the D-Bus property "GoodPropertyType". 1150s # * 1150s # * 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. 1150s # */ 1150s # g_object_interface_install_property (iface, 1150s # 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)); 1150s # } 1150s # 1150s # /** 1150s # * good_types_get_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * 1150s # * Gets the value of the "GoodPropertyType" D-Bus property. 1150s # * 1150s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1150s # * 1150s # * 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. 1150s # * 1150s # * 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. 1150s # */ 1150s # GVariant * 1150s # good_types_get_good_property_type (GoodTypes *object) 1150s # { 1150s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1150s # 1150s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1150s # } 1150s # 1150s # /** 1150s # * good_types_dup_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * 1150s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1150s # * 1150s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1150s # * 1150s # * 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(). 1150s # */ 1150s # GVariant * 1150s # good_types_dup_good_property_type (GoodTypes *object) 1150s # { 1150s # GVariant *value; 1150s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1150s # return value; 1150s # } 1150s # 1150s # /** 1150s # * good_types_set_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * @value: The value to set. 1150s # * 1150s # * Sets the "GoodPropertyType" D-Bus property to @value. 1150s # * 1150s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1150s # */ 1150s # void 1150s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1150s # { 1150s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1150s # } 1150s # 1150s # /* ------------------------------------------------------------------------ */ 1150s # 1150s # /** 1150s # * GoodTypesProxy: 1150s # * 1150s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesProxyClass: 1150s # * @parent_class: The parent class. 1150s # * 1150s # * Class structure for GoodTypesProxy. 1150s # */ 1150s # 1150s # struct _GoodTypesProxyPrivate 1150s # { 1150s # GData *qdata; 1150s # }; 1150s # 1150s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1150s # G_ADD_PRIVATE (GoodTypesProxy) 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1150s # 1150s # #else 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1150s # 1150s # #endif 1150s # static void 1150s # good_types_proxy_finalize (GObject *object) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1150s # g_datalist_clear (&proxy->priv->qdata); 1150s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_get_property (GObject *object, 1150s # guint prop_id, 1150s # GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *variant; 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1150s # if (info->use_gvariant) 1150s # { 1150s # g_value_set_variant (value, variant); 1150s # } 1150s # else 1150s # { 1150s # if (variant != NULL) 1150s # g_dbus_gvariant_to_gvalue (variant, value); 1150s # } 1150s # if (variant != NULL) 1150s # g_variant_unref (variant); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1150s # GAsyncResult *res, 1150s # gpointer user_data) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info = user_data; 1150s # GError *error; 1150s # GVariant *_ret; 1150s # error = NULL; 1150s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1150s # if (!_ret) 1150s # { 1150s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1150s # info->parent_struct.name, 1150s # error->message, g_quark_to_string (error->domain), error->code); 1150s # g_error_free (error); 1150s # } 1150s # else 1150s # { 1150s # g_variant_unref (_ret); 1150s # } 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_set_property (GObject *object, 1150s # guint prop_id, 1150s # const GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *variant; 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1150s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1150s # "org.freedesktop.DBus.Properties.Set", 1150s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1150s # G_DBUS_CALL_FLAGS_NONE, 1150s # -1, 1150s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1150s # g_variant_unref (variant); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_g_signal (GDBusProxy *proxy, 1150s # const gchar *sender_name G_GNUC_UNUSED, 1150s # const gchar *signal_name, 1150s # GVariant *parameters) 1150s # { 1150s # _ExtendedGDBusSignalInfo *info; 1150s # GVariantIter iter; 1150s # GVariant *child; 1150s # GValue *paramv; 1150s # gsize num_params; 1150s # gsize n; 1150s # guint signal_id; 1150s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1150s # if (info == NULL) 1150s # return; 1150s # num_params = g_variant_n_children (parameters); 1150s # paramv = g_new0 (GValue, num_params + 1); 1150s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1150s # g_value_set_object (¶mv[0], proxy); 1150s # g_variant_iter_init (&iter, parameters); 1150s # n = 1; 1150s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1150s # { 1150s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1150s # if (arg_info->use_gvariant) 1150s # { 1150s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1150s # g_value_set_variant (¶mv[n], child); 1150s # n++; 1150s # } 1150s # else 1150s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1150s # g_variant_unref (child); 1150s # } 1150s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1150s # g_signal_emitv (paramv, signal_id, 0, NULL); 1150s # for (n = 0; n < num_params + 1; n++) 1150s # g_value_unset (¶mv[n]); 1150s # g_free (paramv); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1150s # GVariant *changed_properties, 1150s # const gchar *const *invalidated_properties) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1150s # guint n; 1150s # const gchar *key; 1150s # GVariantIter *iter; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # g_variant_get (changed_properties, "a{sv}", &iter); 1150s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1150s # { 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1150s # g_datalist_remove_data (&proxy->priv->qdata, key); 1150s # if (info != NULL) 1150s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1150s # } 1150s # g_variant_iter_free (iter); 1150s # for (n = 0; invalidated_properties[n] != NULL; n++) 1150s # { 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1150s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1150s # if (info != NULL) 1150s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1150s # } 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_proxy_get_good_property_type (GoodTypes *object) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1150s # GVariant *variant; 1150s # GVariant *value = NULL; 1150s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1150s # value = variant; 1150s # if (variant != NULL) 1150s # g_variant_unref (variant); 1150s # return value; 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_init (GoodTypesProxy *proxy) 1150s # { 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1150s # #else 1150s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1150s # #endif 1150s # 1150s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1150s # { 1150s # GObjectClass *gobject_class; 1150s # GDBusProxyClass *proxy_class; 1150s # 1150s # gobject_class = G_OBJECT_CLASS (klass); 1150s # gobject_class->finalize = good_types_proxy_finalize; 1150s # gobject_class->get_property = good_types_proxy_get_property; 1150s # gobject_class->set_property = good_types_proxy_set_property; 1150s # 1150s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1150s # proxy_class->g_signal = good_types_proxy_g_signal; 1150s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1150s # 1150s # good_types_override_properties (gobject_class, 1); 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1150s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1150s # #endif 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_iface_init (GoodTypesIface *iface) 1150s # { 1150s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new: 1150s # * @connection: A #GDBusConnection. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1150s # * @user_data: User data to pass to @callback. 1150s # * 1150s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1150s # * 1150s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1150s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1150s # * 1150s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1150s # */ 1150s # void 1150s # good_types_proxy_new ( 1150s # GDBusConnection *connection, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GAsyncReadyCallback callback, 1150s # gpointer user_data) 1150s # { 1150s # 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); 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_finish: 1150s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Finishes an operation started with good_types_proxy_new(). 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_finish ( 1150s # GAsyncResult *res, 1150s # GError **error) 1150s # { 1150s # GObject *ret; 1150s # GObject *source_object; 1150s # source_object = g_async_result_get_source_object (res); 1150s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1150s # g_object_unref (source_object); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_sync: 1150s # * @connection: A #GDBusConnection. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1150s # * 1150s # * The calling thread is blocked until a reply is received. 1150s # * 1150s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_sync ( 1150s # GDBusConnection *connection, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GError **error) 1150s # { 1150s # GInitable *ret; 1150s # 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); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus: 1150s # * @bus_type: A #GBusType. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: A bus name (well-known or unique). 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1150s # * @user_data: User data to pass to @callback. 1150s # * 1150s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1150s # * 1150s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1150s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1150s # * 1150s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1150s # */ 1150s # void 1150s # good_types_proxy_new_for_bus ( 1150s # GBusType bus_type, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GAsyncReadyCallback callback, 1150s # gpointer user_data) 1150s # { 1150s # 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); 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus_finish: 1150s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_for_bus_finish ( 1150s # GAsyncResult *res, 1150s # GError **error) 1150s # { 1150s # GObject *ret; 1150s # GObject *source_object; 1150s # source_object = g_async_result_get_source_object (res); 1150s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1150s # g_object_unref (source_object); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus_sync: 1150s # * @bus_type: A #GBusType. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: A bus name (well-known or unique). 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1150s # * 1150s # * The calling thread is blocked until a reply is received. 1150s # * 1150s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_for_bus_sync ( 1150s # GBusType bus_type, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GError **error) 1150s # { 1150s # GInitable *ret; 1150s # 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); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # 1150s # /* ------------------------------------------------------------------------ */ 1150s # 1150s # /** 1150s # * GoodTypesSkeleton: 1150s # * 1150s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesSkeletonClass: 1150s # * @parent_class: The parent class. 1150s # * 1150s # * Class structure for GoodTypesSkeleton. 1150s # */ 1150s # 1150s # struct _GoodTypesSkeletonPrivate 1150s # { 1150s # GValue *properties; 1150s # GList *changed_properties; 1150s # GSource *changed_properties_idle_source; 1150s # GMainContext *context; 1150s # GMutex lock; 1150s # }; 1150s # 1150s # static void 1150s # _good_types_skeleton_handle_method_call ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name, 1150s # const gchar *method_name, 1150s # GVariant *parameters, 1150s # GDBusMethodInvocation *invocation, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # _ExtendedGDBusMethodInfo *info; 1150s # GVariantIter iter; 1150s # GVariant *child; 1150s # GValue *paramv; 1150s # gsize num_params; 1150s # guint num_extra; 1150s # gsize n; 1150s # guint signal_id; 1150s # GValue return_value = G_VALUE_INIT; 1150s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1150s # g_assert (info != NULL); 1150s # num_params = g_variant_n_children (parameters); 1150s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1150s # n = 0; 1150s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1150s # g_value_set_object (¶mv[n++], skeleton); 1150s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1150s # g_value_set_object (¶mv[n++], invocation); 1150s # if (info->pass_fdlist) 1150s # { 1150s # #ifdef G_OS_UNIX 1150s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1150s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1150s # #else 1150s # g_assert_not_reached (); 1150s # #endif 1150s # } 1150s # g_variant_iter_init (&iter, parameters); 1150s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1150s # { 1150s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1150s # if (arg_info->use_gvariant) 1150s # { 1150s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1150s # g_value_set_variant (¶mv[n], child); 1150s # n++; 1150s # } 1150s # else 1150s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1150s # g_variant_unref (child); 1150s # } 1150s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1150s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1150s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1150s # if (!g_value_get_boolean (&return_value)) 1150s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1150s # g_value_unset (&return_value); 1150s # for (n = 0; n < num_params + num_extra; n++) 1150s # g_value_unset (¶mv[n]); 1150s # g_free (paramv); 1150s # } 1150s # 1150s # static GVariant * 1150s # _good_types_skeleton_handle_get_property ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name G_GNUC_UNUSED, 1150s # const gchar *property_name, 1150s # GError **error, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GValue value = G_VALUE_INIT; 1150s # GParamSpec *pspec; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *ret; 1150s # ret = NULL; 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1150s # g_assert (info != NULL); 1150s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1150s # if (pspec == NULL) 1150s # { 1150s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1150s # } 1150s # else 1150s # { 1150s # g_value_init (&value, pspec->value_type); 1150s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1150s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1150s # g_value_unset (&value); 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _good_types_skeleton_handle_set_property ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name G_GNUC_UNUSED, 1150s # const gchar *property_name, 1150s # GVariant *variant, 1150s # GError **error, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GValue value = G_VALUE_INIT; 1150s # GParamSpec *pspec; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # gboolean ret; 1150s # ret = FALSE; 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1150s # g_assert (info != NULL); 1150s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1150s # if (pspec == NULL) 1150s # { 1150s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1150s # } 1150s # else 1150s # { 1150s # if (info->use_gvariant) 1150s # g_value_set_variant (&value, variant); 1150s # else 1150s # g_dbus_gvariant_to_gvalue (variant, &value); 1150s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1150s # g_value_unset (&value); 1150s # ret = TRUE; 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1150s # { 1150s # _good_types_skeleton_handle_method_call, 1150s # _good_types_skeleton_handle_get_property, 1150s # _good_types_skeleton_handle_set_property, 1150s # {NULL} 1150s # }; 1150s # 1150s # static GDBusInterfaceInfo * 1150s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1150s # { 1150s # return good_types_interface_info (); 1150s # } 1150s # 1150s # static GDBusInterfaceVTable * 1150s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1150s # { 1150s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1150s # 1150s # GVariantBuilder builder; 1150s # guint n; 1150s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1150s # if (_good_types_interface_info.parent_struct.properties == NULL) 1150s # goto out; 1150s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1150s # { 1150s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1150s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1150s # { 1150s # GVariant *value; 1150s # 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); 1150s # if (value != NULL) 1150s # { 1150s # g_variant_take_ref (value); 1150s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1150s # g_variant_unref (value); 1150s # } 1150s # } 1150s # } 1150s # out: 1150s # return g_variant_builder_end (&builder); 1150s # } 1150s # 1150s # static gboolean _good_types_emit_changed (gpointer user_data); 1150s # 1150s # static void 1150s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1150s # gboolean emit_changed = FALSE; 1150s # 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # if (skeleton->priv->changed_properties_idle_source != NULL) 1150s # { 1150s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1150s # skeleton->priv->changed_properties_idle_source = NULL; 1150s # emit_changed = TRUE; 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # 1150s # if (emit_changed) 1150s # _good_types_emit_changed (skeleton); 1150s # } 1150s # 1150s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1150s # G_ADD_PRIVATE (GoodTypesSkeleton) 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1150s # 1150s # #else 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1150s # 1150s # #endif 1150s # static void 1150s # good_types_skeleton_finalize (GObject *object) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # guint n; 1150s # for (n = 0; n < 1; n++) 1150s # g_value_unset (&skeleton->priv->properties[n]); 1150s # g_free (skeleton->priv->properties); 1150s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1150s # if (skeleton->priv->changed_properties_idle_source != NULL) 1150s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1150s # g_main_context_unref (skeleton->priv->context); 1150s # g_mutex_clear (&skeleton->priv->lock); 1150s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_get_property (GObject *object, 1150s # guint prop_id, 1150s # GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # } 1150s # 1150s # static gboolean 1150s # _good_types_emit_changed (gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GList *l; 1150s # GVariantBuilder builder; 1150s # GVariantBuilder invalidated_builder; 1150s # guint num_changes; 1150s # 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1150s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1150s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1150s # { 1150s # ChangedProperty *cp = l->data; 1150s # GVariant *variant; 1150s # const GValue *cur_value; 1150s # 1150s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1150s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1150s # { 1150s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1150s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1150s # g_variant_unref (variant); 1150s # num_changes++; 1150s # } 1150s # } 1150s # if (num_changes > 0) 1150s # { 1150s # GList *connections, *ll; 1150s # GVariant *signal_variant; 1150s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1150s # &builder, &invalidated_builder)); 1150s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1150s # for (ll = connections; ll != NULL; ll = ll->next) 1150s # { 1150s # GDBusConnection *connection = ll->data; 1150s # 1150s # g_dbus_connection_emit_signal (connection, 1150s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1150s # "org.freedesktop.DBus.Properties", 1150s # "PropertiesChanged", 1150s # signal_variant, 1150s # NULL); 1150s # } 1150s # g_variant_unref (signal_variant); 1150s # g_list_free_full (connections, g_object_unref); 1150s # } 1150s # else 1150s # { 1150s # g_variant_builder_clear (&builder); 1150s # g_variant_builder_clear (&invalidated_builder); 1150s # } 1150s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1150s # skeleton->priv->changed_properties = NULL; 1150s # skeleton->priv->changed_properties_idle_source = NULL; 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # return FALSE; 1150s # } 1150s # 1150s # static void 1150s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1150s # { 1150s # ChangedProperty *cp; 1150s # GList *l; 1150s # cp = NULL; 1150s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1150s # { 1150s # ChangedProperty *i_cp = l->data; 1150s # if (i_cp->info == info) 1150s # { 1150s # cp = i_cp; 1150s # break; 1150s # } 1150s # } 1150s # if (cp == NULL) 1150s # { 1150s # cp = g_new0 (ChangedProperty, 1); 1150s # cp->prop_id = prop_id; 1150s # cp->info = info; 1150s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1150s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1150s # g_value_copy (orig_value, &cp->orig_value); 1150s # } 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_notify (GObject *object, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # if (skeleton->priv->changed_properties != NULL && 1150s # skeleton->priv->changed_properties_idle_source == NULL) 1150s # { 1150s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1150s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1150s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1150s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1150s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1150s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_set_property (GObject *object, 1150s # guint prop_id, 1150s # const GValue *value, 1150s # GParamSpec *pspec) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_object_freeze_notify (object); 1150s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1150s # { 1150s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1150s # info->emits_changed_signal) 1150s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1150s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1150s # g_object_notify_by_pspec (object, pspec); 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # g_object_thaw_notify (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1150s # { 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1150s # #else 1150s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1150s # #endif 1150s # 1150s # g_mutex_init (&skeleton->priv->lock); 1150s # skeleton->priv->context = g_main_context_ref_thread_default (); 1150s # skeleton->priv->properties = g_new0 (GValue, 1); 1150s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # GVariant *value; 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # return value; 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1150s # { 1150s # GObjectClass *gobject_class; 1150s # GDBusInterfaceSkeletonClass *skeleton_class; 1150s # 1150s # gobject_class = G_OBJECT_CLASS (klass); 1150s # gobject_class->finalize = good_types_skeleton_finalize; 1150s # gobject_class->get_property = good_types_skeleton_get_property; 1150s # gobject_class->set_property = good_types_skeleton_set_property; 1150s # gobject_class->notify = good_types_skeleton_notify; 1150s # 1150s # 1150s # good_types_override_properties (gobject_class, 1); 1150s # 1150s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1150s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1150s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1150s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1150s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1150s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1150s # #endif 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1150s # { 1150s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1150s # } 1150s # 1150s # /** 1150s # * good_types_skeleton_new: 1150s # * 1150s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1150s # */ 1150s # GoodTypes * 1150s # good_types_skeleton_new (void) 1150s # { 1150s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1150s # } 1150s # /tmp/tmpwqnd1vpa/tmpx1jhef8s.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpx1jhef8s.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifdef HAVE_CONFIG_H 1150s # # include "config.h" 1150s # #endif 1150s # 1150s # #include 1150s # #ifdef G_OS_UNIX 1150s # # include 1150s # #endif 1150s # 1150s # #ifdef G_ENABLE_DEBUG 1150s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1150s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1150s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1150s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1150s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1150s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1150s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1150s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1150s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1150s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1150s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1150s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1150s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1150s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1150s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1150s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1150s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1150s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1150s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1150s # #else /* !G_ENABLE_DEBUG */ 1150s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1150s # * Do not access GValues directly in your code. Instead, use the 1150s # * g_value_get_*() functions 1150s # */ 1150s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1150s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1150s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1150s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1150s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1150s # #endif /* !G_ENABLE_DEBUG */ 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusArgInfo parent_struct; 1150s # gboolean use_gvariant; 1150s # } _ExtendedGDBusArgInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusMethodInfo parent_struct; 1150s # const gchar *signal_name; 1150s # gboolean pass_fdlist; 1150s # } _ExtendedGDBusMethodInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusSignalInfo parent_struct; 1150s # const gchar *signal_name; 1150s # } _ExtendedGDBusSignalInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusPropertyInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # guint use_gvariant : 1; 1150s # guint emits_changed_signal : 1; 1150s # } _ExtendedGDBusPropertyInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusInterfaceInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # } _ExtendedGDBusInterfaceInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # guint prop_id; 1150s # GValue orig_value; /* the value before the change */ 1150s # } ChangedProperty; 1150s # 1150s # static void 1150s # _changed_property_free (ChangedProperty *data) 1150s # { 1150s # g_value_unset (&data->orig_value); 1150s # g_free (data); 1150s # } 1150s # 1150s # static gboolean 1150s # _g_strv_equal0 (gchar **a, gchar **b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # guint n; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # if (g_strv_length (a) != g_strv_length (b)) 1150s # goto out; 1150s # for (n = 0; a[n] != NULL; n++) 1150s # if (g_strcmp0 (a[n], b[n]) != 0) 1150s # goto out; 1150s # ret = TRUE; 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _g_variant_equal0 (GVariant *a, GVariant *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # ret = g_variant_equal (a, b); 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # G_GNUC_UNUSED static gboolean 1150s # _g_value_equal (const GValue *a, const GValue *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1150s # switch (G_VALUE_TYPE (a)) 1150s # { 1150s # case G_TYPE_BOOLEAN: 1150s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1150s # break; 1150s # case G_TYPE_UCHAR: 1150s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1150s # break; 1150s # case G_TYPE_INT: 1150s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1150s # break; 1150s # case G_TYPE_UINT: 1150s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1150s # break; 1150s # case G_TYPE_INT64: 1150s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1150s # break; 1150s # case G_TYPE_UINT64: 1150s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1150s # break; 1150s # case G_TYPE_DOUBLE: 1150s # { 1150s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1150s # gdouble da = g_value_get_double (a); 1150s # gdouble db = g_value_get_double (b); 1150s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1150s # } 1150s # break; 1150s # case G_TYPE_STRING: 1150s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1150s # break; 1150s # case G_TYPE_VARIANT: 1150s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1150s # break; 1150s # default: 1150s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1150s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1150s # else 1150s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1150s # break; 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # /* ------------------------------------------------------------------------ 1150s # * Code for interface GoodTypes 1150s # * ------------------------------------------------------------------------ 1150s # */ 1150s # 1150s # /** 1150s # * SECTION:GoodTypes 1150s # * @title: GoodTypes 1150s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1150s # * 1150s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1150s # */ 1150s # 1150s # /* ---- Introspection data for GoodTypes ---- */ 1150s # 1150s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1150s # { 1150s # { 1150s # -1, 1150s # (gchar *) "GoodPropertyType", 1150s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1150s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1150s # NULL 1150s # }, 1150s # "good-property-type", 1150s # FALSE, 1150s # TRUE 1150s # }; 1150s # 1150s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1150s # { 1150s # &_good_types_property_info_good_property_type.parent_struct, 1150s # NULL 1150s # }; 1150s # 1150s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1150s # { 1150s # { 1150s # -1, 1150s # (gchar *) "GoodTypes", 1150s # NULL, 1150s # NULL, 1150s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1150s # NULL 1150s # }, 1150s # "good-types", 1150s # }; 1150s # 1150s # 1150s # /** 1150s # * good_types_interface_info: 1150s # * 1150s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1150s # * 1150s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1150s # */ 1150s # GDBusInterfaceInfo * 1150s # good_types_interface_info (void) 1150s # { 1150s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1150s # } 1150s # 1150s # /** 1150s # * good_types_override_properties: 1150s # * @klass: The class structure for a #GObject derived class. 1150s # * @property_id_begin: The property id to assign to the first overridden property. 1150s # * 1150s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1150s # * The properties are overridden in the order they are defined. 1150s # * 1150s # * Returns: The last property id. 1150s # */ 1150s # guint 1150s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1150s # { 1150s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1150s # return property_id_begin - 1; 1150s # } 1150s # 1150s # 1150s # 1150s # /** 1150s # * GoodTypes: 1150s # * 1150s # * Abstract interface type for the D-Bus interface GoodTypes. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesIface: 1150s # * @parent_iface: The parent interface. 1150s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1150s # * 1150s # * Virtual table for the D-Bus interface GoodTypes. 1150s # */ 1150s # 1150s # typedef GoodTypesIface GoodTypesInterface; 1150s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1150s # 1150s # static void 1150s # good_types_default_init (GoodTypesIface *iface) 1150s # { 1150s # /* GObject properties for D-Bus properties: */ 1150s # /** 1150s # * GoodTypes:good-property-type: 1150s # * 1150s # * Represents the D-Bus property "GoodPropertyType". 1150s # * 1150s # * 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. 1150s # */ 1150s # g_object_interface_install_property (iface, 1150s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1150s # } 1150s # 1150s # /** 1150s # * good_types_get_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * 1150s # * Gets the value of the "GoodPropertyType" D-Bus property. 1150s # * 1150s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1150s # * 1150s # * 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. 1150s # * 1150s # * 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. 1150s # */ 1150s # GVariant * 1150s # good_types_get_good_property_type (GoodTypes *object) 1150s # { 1150s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1150s # 1150s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1150s # } 1150s # 1150s # /** 1150s # * good_types_dup_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * 1150s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1150s # * 1150s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1150s # * 1150s # * 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(). 1150s # */ 1150s # GVariant * 1150s # good_types_dup_good_property_type (GoodTypes *object) 1150s # { 1150s # GVariant *value; 1150s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1150s # return value; 1150s # } 1150s # 1150s # /** 1150s # * good_types_set_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * @value: The value to set. 1150s # * 1150s # * Sets the "GoodPropertyType" D-Bus property to @value. 1150s # * 1150s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1150s # */ 1150s # void 1150s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1150s # { 1150s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1150s # } 1150s # 1150s # /* ------------------------------------------------------------------------ */ 1150s # 1150s # /** 1150s # * GoodTypesProxy: 1150s # * 1150s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesProxyClass: 1150s # * @parent_class: The parent class. 1150s # * 1150s # * Class structure for GoodTypesProxy. 1150s # */ 1150s # 1150s # struct _GoodTypesProxyPrivate 1150s # { 1150s # GData *qdata; 1150s # }; 1150s # 1150s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1150s # G_ADD_PRIVATE (GoodTypesProxy) 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1150s # 1150s # #else 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1150s # 1150s # #endif 1150s # static void 1150s # good_types_proxy_finalize (GObject *object) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1150s # g_datalist_clear (&proxy->priv->qdata); 1150s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_get_property (GObject *object, 1150s # guint prop_id, 1150s # GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *variant; 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1150s # if (info->use_gvariant) 1150s # { 1150s # g_value_set_variant (value, variant); 1150s # } 1150s # else 1150s # { 1150s # if (variant != NULL) 1150s # g_dbus_gvariant_to_gvalue (variant, value); 1150s # } 1150s # if (variant != NULL) 1150s # g_variant_unref (variant); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1150s # GAsyncResult *res, 1150s # gpointer user_data) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info = user_data; 1150s # GError *error; 1150s # GVariant *_ret; 1150s # error = NULL; 1150s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1150s # if (!_ret) 1150s # { 1150s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1150s # info->parent_struct.name, 1150s # error->message, g_quark_to_string (error->domain), error->code); 1150s # g_error_free (error); 1150s # } 1150s # else 1150s # { 1150s # g_variant_unref (_ret); 1150s # } 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_set_property (GObject *object, 1150s # guint prop_id, 1150s # const GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *variant; 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1150s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1150s # "org.freedesktop.DBus.Properties.Set", 1150s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1150s # G_DBUS_CALL_FLAGS_NONE, 1150s # -1, 1150s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1150s # g_variant_unref (variant); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_g_signal (GDBusProxy *proxy, 1150s # const gchar *sender_name G_GNUC_UNUSED, 1150s # const gchar *signal_name, 1150s # GVariant *parameters) 1150s # { 1150s # _ExtendedGDBusSignalInfo *info; 1150s # GVariantIter iter; 1150s # GVariant *child; 1150s # GValue *paramv; 1150s # gsize num_params; 1150s # gsize n; 1150s # guint signal_id; 1150s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1150s # if (info == NULL) 1150s # return; 1150s # num_params = g_variant_n_children (parameters); 1150s # paramv = g_new0 (GValue, num_params + 1); 1150s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1150s # g_value_set_object (¶mv[0], proxy); 1150s # g_variant_iter_init (&iter, parameters); 1150s # n = 1; 1150s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1150s # { 1150s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1150s # if (arg_info->use_gvariant) 1150s # { 1150s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1150s # g_value_set_variant (¶mv[n], child); 1150s # n++; 1150s # } 1150s # else 1150s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1150s # g_variant_unref (child); 1150s # } 1150s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1150s # g_signal_emitv (paramv, signal_id, 0, NULL); 1150s # for (n = 0; n < num_params + 1; n++) 1150s # g_value_unset (¶mv[n]); 1150s # g_free (paramv); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1150s # GVariant *changed_properties, 1150s # const gchar *const *invalidated_properties) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1150s # guint n; 1150s # const gchar *key; 1150s # GVariantIter *iter; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # g_variant_get (changed_properties, "a{sv}", &iter); 1150s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1150s # { 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1150s # g_datalist_remove_data (&proxy->priv->qdata, key); 1150s # if (info != NULL) 1150s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1150s # } 1150s # g_variant_iter_free (iter); 1150s # for (n = 0; invalidated_properties[n] != NULL; n++) 1150s # { 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1150s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1150s # if (info != NULL) 1150s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1150s # } 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_proxy_get_good_property_type (GoodTypes *object) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1150s # GVariant *variant; 1150s # GVariant *value = NULL; 1150s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1150s # value = variant; 1150s # if (variant != NULL) 1150s # g_variant_unref (variant); 1150s # return value; 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_init (GoodTypesProxy *proxy) 1150s # { 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1150s # #else 1150s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1150s # #endif 1150s # 1150s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1150s # { 1150s # GObjectClass *gobject_class; 1150s # GDBusProxyClass *proxy_class; 1150s # 1150s # gobject_class = G_OBJECT_CLASS (klass); 1150s # gobject_class->finalize = good_types_proxy_finalize; 1150s # gobject_class->get_property = good_types_proxy_get_property; 1150s # gobject_class->set_property = good_types_proxy_set_property; 1150s # 1150s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1150s # proxy_class->g_signal = good_types_proxy_g_signal; 1150s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1150s # 1150s # good_types_override_properties (gobject_class, 1); 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1150s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1150s # #endif 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_iface_init (GoodTypesIface *iface) 1150s # { 1150s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new: 1150s # * @connection: A #GDBusConnection. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1150s # * @user_data: User data to pass to @callback. 1150s # * 1150s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1150s # * 1150s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1150s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1150s # * 1150s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1150s # */ 1150s # void 1150s # good_types_proxy_new ( 1150s # GDBusConnection *connection, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GAsyncReadyCallback callback, 1150s # gpointer user_data) 1150s # { 1150s # 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); 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_finish: 1150s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Finishes an operation started with good_types_proxy_new(). 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_finish ( 1150s # GAsyncResult *res, 1150s # GError **error) 1150s # { 1150s # GObject *ret; 1150s # GObject *source_object; 1150s # source_object = g_async_result_get_source_object (res); 1150s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1150s # g_object_unref (source_object); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_sync: 1150s # * @connection: A #GDBusConnection. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1150s # * 1150s # * The calling thread is blocked until a reply is received. 1150s # * 1150s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_sync ( 1150s # GDBusConnection *connection, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GError **error) 1150s # { 1150s # GInitable *ret; 1150s # 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); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus: 1150s # * @bus_type: A #GBusType. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: A bus name (well-known or unique). 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1150s # * @user_data: User data to pass to @callback. 1150s # * 1150s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1150s # * 1150s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1150s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1150s # * 1150s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1150s # */ 1150s # void 1150s # good_types_proxy_new_for_bus ( 1150s # GBusType bus_type, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GAsyncReadyCallback callback, 1150s # gpointer user_data) 1150s # { 1150s # 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); 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus_finish: 1150s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_for_bus_finish ( 1150s # GAsyncResult *res, 1150s # GError **error) 1150s # { 1150s # GObject *ret; 1150s # GObject *source_object; 1150s # source_object = g_async_result_get_source_object (res); 1150s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1150s # g_object_unref (source_object); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus_sync: 1150s # * @bus_type: A #GBusType. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: A bus name (well-known or unique). 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1150s # * 1150s # * The calling thread is blocked until a reply is received. 1150s # * 1150s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_for_bus_sync ( 1150s # GBusType bus_type, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GError **error) 1150s # { 1150s # GInitable *ret; 1150s # 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); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # 1150s # /* ------------------------------------------------------------------------ */ 1150s # 1150s # /** 1150s # * GoodTypesSkeleton: 1150s # * 1150s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesSkeletonClass: 1150s # * @parent_class: The parent class. 1150s # * 1150s # * Class structure for GoodTypesSkeleton. 1150s # */ 1150s # 1150s # struct _GoodTypesSkeletonPrivate 1150s # { 1150s # GValue *properties; 1150s # GList *changed_properties; 1150s # GSource *changed_properties_idle_source; 1150s # GMainContext *context; 1150s # GMutex lock; 1150s # }; 1150s # 1150s # static void 1150s # _good_types_skeleton_handle_method_call ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name, 1150s # const gchar *method_name, 1150s # GVariant *parameters, 1150s # GDBusMethodInvocation *invocation, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # _ExtendedGDBusMethodInfo *info; 1150s # GVariantIter iter; 1150s # GVariant *child; 1150s # GValue *paramv; 1150s # gsize num_params; 1150s # guint num_extra; 1150s # gsize n; 1150s # guint signal_id; 1150s # GValue return_value = G_VALUE_INIT; 1150s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1150s # g_assert (info != NULL); 1150s # num_params = g_variant_n_children (parameters); 1150s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1150s # n = 0; 1150s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1150s # g_value_set_object (¶mv[n++], skeleton); 1150s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1150s # g_value_set_object (¶mv[n++], invocation); 1150s # if (info->pass_fdlist) 1150s # { 1150s # #ifdef G_OS_UNIX 1150s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1150s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1150s # #else 1150s # g_assert_not_reached (); 1150s # #endif 1150s # } 1150s # g_variant_iter_init (&iter, parameters); 1150s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1150s # { 1150s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1150s # if (arg_info->use_gvariant) 1150s # { 1150s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1150s # g_value_set_variant (¶mv[n], child); 1150s # n++; 1150s # } 1150s # else 1150s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1150s # g_variant_unref (child); 1150s # } 1150s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1150s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1150s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1150s # if (!g_value_get_boolean (&return_value)) 1150s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1150s # g_value_unset (&return_value); 1150s # for (n = 0; n < num_params + num_extra; n++) 1150s # g_value_unset (¶mv[n]); 1150s # g_free (paramv); 1150s # } 1150s # 1150s # static GVariant * 1150s # _good_types_skeleton_handle_get_property ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name G_GNUC_UNUSED, 1150s # const gchar *property_name, 1150s # GError **error, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GValue value = G_VALUE_INIT; 1150s # GParamSpec *pspec; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *ret; 1150s # ret = NULL; 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1150s # g_assert (info != NULL); 1150s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1150s # if (pspec == NULL) 1150s # { 1150s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1150s # } 1150s # else 1150s # { 1150s # g_value_init (&value, pspec->value_type); 1150s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1150s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1150s # g_value_unset (&value); 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _good_types_skeleton_handle_set_property ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name G_GNUC_UNUSED, 1150s # const gchar *property_name, 1150s # GVariant *variant, 1150s # GError **error, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GValue value = G_VALUE_INIT; 1150s # GParamSpec *pspec; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # gboolean ret; 1150s # ret = FALSE; 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1150s # g_assert (info != NULL); 1150s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1150s # if (pspec == NULL) 1150s # { 1150s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1150s # } 1150s # else 1150s # { 1150s # if (info->use_gvariant) 1150s # g_value_set_variant (&value, variant); 1150s # else 1150s # g_dbus_gvariant_to_gvalue (variant, &value); 1150s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1150s # g_value_unset (&value); 1150s # ret = TRUE; 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1150s # { 1150s # _good_types_skeleton_handle_method_call, 1150s # _good_types_skeleton_handle_get_property, 1150s # _good_types_skeleton_handle_set_property, 1150s # {NULL} 1150s # }; 1150s # 1150s # static GDBusInterfaceInfo * 1150s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1150s # { 1150s # return good_types_interface_info (); 1150s # } 1150s # 1150s # static GDBusInterfaceVTable * 1150s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1150s # { 1150s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1150s # 1150s # GVariantBuilder builder; 1150s # guint n; 1150s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1150s # if (_good_types_interface_info.parent_struct.properties == NULL) 1150s # goto out; 1150s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1150s # { 1150s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1150s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1150s # { 1150s # GVariant *value; 1150s # 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); 1150s # if (value != NULL) 1150s # { 1150s # g_variant_take_ref (value); 1150s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1150s # g_variant_unref (value); 1150s # } 1150s # } 1150s # } 1150s # out: 1150s # return g_variant_builder_end (&builder); 1150s # } 1150s # 1150s # static gboolean _good_types_emit_changed (gpointer user_data); 1150s # 1150s # static void 1150s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1150s # gboolean emit_changed = FALSE; 1150s # 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # if (skeleton->priv->changed_properties_idle_source != NULL) 1150s # { 1150s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1150s # skeleton->priv->changed_properties_idle_source = NULL; 1150s # emit_changed = TRUE; 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # 1150s # if (emit_changed) 1150s # _good_types_emit_changed (skeleton); 1150s # } 1150s # 1150s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1150s # G_ADD_PRIVATE (GoodTypesSkeleton) 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1150s # 1150s # #else 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1150s # 1150s # #endif 1150s # static void 1150s # good_types_skeleton_finalize (GObject *object) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # guint n; 1150s # for (n = 0; n < 1; n++) 1150s # g_value_unset (&skeleton->priv->properties[n]); 1150s # g_free (skeleton->priv->properties); 1150s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1150s # if (skeleton->priv->changed_properties_idle_source != NULL) 1150s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1150s # g_main_context_unref (skeleton->priv->context); 1150s # g_mutex_clear (&skeleton->priv->lock); 1150s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_get_property (GObject *object, 1150s # guint prop_id, 1150s # GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # } 1150s # 1150s # static gboolean 1150s # _good_types_emit_changed (gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GList *l; 1150s # GVariantBuilder builder; 1150s # GVariantBuilder invalidated_builder; 1150s # guint num_changes; 1150s # 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1150s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1150s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1150s # { 1150s # ChangedProperty *cp = l->data; 1150s # GVariant *variant; 1150s # const GValue *cur_value; 1150s # 1150s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1150s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1150s # { 1150s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1150s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1150s # g_variant_unref (variant); 1150s # num_changes++; 1150s # } 1150s # } 1150s # if (num_changes > 0) 1150s # { 1150s # GList *connections, *ll; 1150s # GVariant *signal_variant; 1150s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1150s # &builder, &invalidated_builder)); 1150s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1150s # for (ll = connections; ll != NULL; ll = ll->next) 1150s # { 1150s # GDBusConnection *connection = ll->data; 1150s # 1150s # g_dbus_connection_emit_signal (connection, 1150s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1150s # "org.freedesktop.DBus.Properties", 1150s # "PropertiesChanged", 1150s # signal_variant, 1150s # NULL); 1150s # } 1150s # g_variant_unref (signal_variant); 1150s # g_list_free_full (connections, g_object_unref); 1150s # } 1150s # else 1150s # { 1150s # g_variant_builder_clear (&builder); 1150s # g_variant_builder_clear (&invalidated_builder); 1150s # } 1150s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1150s # skeleton->priv->changed_properties = NULL; 1150s # skeleton->priv->changed_properties_idle_source = NULL; 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # return FALSE; 1150s # } 1150s # 1150s # static void 1150s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1150s # { 1150s # ChangedProperty *cp; 1150s # GList *l; 1150s # cp = NULL; 1150s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1150s # { 1150s # ChangedProperty *i_cp = l->data; 1150s # if (i_cp->info == info) 1150s # { 1150s # cp = i_cp; 1150s # break; 1150s # } 1150s # } 1150s # if (cp == NULL) 1150s # { 1150s # cp = g_new0 (ChangedProperty, 1); 1150s # cp->prop_id = prop_id; 1150s # cp->info = info; 1150s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1150s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1150s # g_value_copy (orig_value, &cp->orig_value); 1150s # } 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_notify (GObject *object, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # if (skeleton->priv->changed_properties != NULL && 1150s # skeleton->priv->changed_properties_idle_source == NULL) 1150s # { 1150s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1150s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1150s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1150s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1150s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1150s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_set_property (GObject *object, 1150s # guint prop_id, 1150s # const GValue *value, 1150s # GParamSpec *pspec) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_object_freeze_notify (object); 1150s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1150s # { 1150s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1150s # info->emits_changed_signal) 1150s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1150s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1150s # g_object_notify_by_pspec (object, pspec); 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # g_object_thaw_notify (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1150s # { 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1150s # #else 1150s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1150s # #endif 1150s # 1150s # g_mutex_init (&skeleton->priv->lock); 1150s # skeleton->priv->context = g_main_context_ref_thread_default (); 1150s # skeleton->priv->properties = g_new0 (GValue, 1); 1150s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # GVariant *value; 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # return value; 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1150s # { 1150s # GObjectClass *gobject_class; 1150s # GDBusInterfaceSkeletonClass *skeleton_class; 1150s # 1150s # gobject_class = G_OBJECT_CLASS (klass); 1150s # gobject_class->finalize = good_types_skeleton_finalize; 1150s # gobject_class->get_property = good_types_skeleton_get_property; 1150s # gobject_class->set_property = good_types_skeleton_set_property; 1150s # gobject_class->notify = good_types_skeleton_notify; 1150s # 1150s # 1150s # good_types_override_properties (gobject_class, 1); 1150s # 1150s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1150s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1150s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1150s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1150s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1150s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1150s # #endif 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1150s # { 1150s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1150s # } 1150s # 1150s # /** 1150s # * good_types_skeleton_new: 1150s # * 1150s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1150s # */ 1150s # GoodTypes * 1150s # good_types_skeleton_new (void) 1150s # { 1150s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1150s # } 1150s # /tmp/tmpwqnd1vpa/tmpe13of08c.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwqnd1vpa/tmpe13of08c.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifdef HAVE_CONFIG_H 1150s # # include "config.h" 1150s # #endif 1150s # 1150s # #include 1150s # #ifdef G_OS_UNIX 1150s # # include 1150s # #endif 1150s # 1150s # #ifdef G_ENABLE_DEBUG 1150s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1150s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1150s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1150s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1150s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1150s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1150s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1150s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1150s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1150s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1150s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1150s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1150s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1150s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1150s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1150s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1150s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1150s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1150s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1150s # #else /* !G_ENABLE_DEBUG */ 1150s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1150s # * Do not access GValues directly in your code. Instead, use the 1150s # * g_value_get_*() functions 1150s # */ 1150s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1150s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1150s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1150s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1150s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1150s # #endif /* !G_ENABLE_DEBUG */ 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusArgInfo parent_struct; 1150s # gboolean use_gvariant; 1150s # } _ExtendedGDBusArgInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusMethodInfo parent_struct; 1150s # const gchar *signal_name; 1150s # gboolean pass_fdlist; 1150s # } _ExtendedGDBusMethodInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusSignalInfo parent_struct; 1150s # const gchar *signal_name; 1150s # } _ExtendedGDBusSignalInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusPropertyInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # guint use_gvariant : 1; 1150s # guint emits_changed_signal : 1; 1150s # } _ExtendedGDBusPropertyInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusInterfaceInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # } _ExtendedGDBusInterfaceInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # guint prop_id; 1150s # GValue orig_value; /* the value before the change */ 1150s # } ChangedProperty; 1150s # 1150s # static void 1150s # _changed_property_free (ChangedProperty *data) 1150s # { 1150s # g_value_unset (&data->orig_value); 1150s # g_free (data); 1150s # } 1150s # 1150s # static gboolean 1150s # _g_strv_equal0 (gchar **a, gchar **b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # guint n; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # if (g_strv_length (a) != g_strv_length (b)) 1150s # goto out; 1150s # for (n = 0; a[n] != NULL; n++) 1150s # if (g_strcmp0 (a[n], b[n]) != 0) 1150s # goto out; 1150s # ret = TRUE; 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _g_variant_equal0 (GVariant *a, GVariant *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # ret = g_variant_equal (a, b); 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # G_GNUC_UNUSED static gboolean 1150s # _g_value_equal (const GValue *a, const GValue *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1150s # switch (G_VALUE_TYPE (a)) 1150s # { 1150s # case G_TYPE_BOOLEAN: 1150s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1150s # break; 1150s # case G_TYPE_UCHAR: 1150s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1150s # break; 1150s # case G_TYPE_INT: 1150s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1150s # break; 1150s # case G_TYPE_UINT: 1150s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1150s # break; 1150s # case G_TYPE_INT64: 1150s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1150s # break; 1150s # case G_TYPE_UINT64: 1150s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1150s # break; 1150s # case G_TYPE_DOUBLE: 1150s # { 1150s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1150s # gdouble da = g_value_get_double (a); 1150s # gdouble db = g_value_get_double (b); 1150s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1150s # } 1150s # break; 1150s # case G_TYPE_STRING: 1150s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1150s # break; 1150s # case G_TYPE_VARIANT: 1150s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1150s # break; 1150s # default: 1150s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1150s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1150s # else 1150s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1150s # break; 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # /* ------------------------------------------------------------------------ 1150s # * Code for interface GoodTypes 1150s # * ------------------------------------------------------------------------ 1150s # */ 1150s # 1150s # /** 1150s # * SECTION:GoodTypes 1150s # * @title: GoodTypes 1150s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1150s # * 1150s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1150s # */ 1150s # 1150s # /* ---- Introspection data for GoodTypes ---- */ 1150s # 1150s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1150s # { 1150s # { 1150s # -1, 1150s # (gchar *) "GoodPropertyType", 1150s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1150s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1150s # NULL 1150s # }, 1150s # "good-property-type", 1150s # FALSE, 1150s # TRUE 1150s # }; 1150s # 1150s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1150s # { 1150s # &_good_types_property_info_good_property_type.parent_struct, 1150s # NULL 1150s # }; 1150s # 1150s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1150s # { 1150s # { 1150s # -1, 1150s # (gchar *) "GoodTypes", 1150s # NULL, 1150s # NULL, 1150s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1150s # NULL 1150s # }, 1150s # "good-types", 1150s # }; 1150s # 1150s # 1150s # /** 1150s # * good_types_interface_info: 1150s # * 1150s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1150s # * 1150s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1150s # */ 1150s # GDBusInterfaceInfo * 1150s # good_types_interface_info (void) 1150s # { 1150s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1150s # } 1150s # 1150s # /** 1150s # * good_types_override_properties: 1150s # * @klass: The class structure for a #GObject derived class. 1150s # * @property_id_begin: The property id to assign to the first overridden property. 1150s # * 1150s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1150s # * The properties are overridden in the order they are defined. 1150s # * 1150s # * Returns: The last property id. 1150s # */ 1150s # guint 1150s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1150s # { 1150s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1150s # return property_id_begin - 1; 1150s # } 1150s # 1150s # 1150s # 1150s # /** 1150s # * GoodTypes: 1150s # * 1150s # * Abstract interface type for the D-Bus interface GoodTypes. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesIface: 1150s # * @parent_iface: The parent interface. 1150s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1150s # * 1150s # * Virtual table for the D-Bus interface GoodTypes. 1150s # */ 1150s # 1150s # typedef GoodTypesIface GoodTypesInterface; 1150s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1150s # 1150s # static void 1150s # good_types_default_init (GoodTypesIface *iface) 1150s # { 1150s # /* GObject properties for D-Bus properties: */ 1150s # /** 1150s # * GoodTypes:good-property-type: 1150s # * 1150s # * Represents the D-Bus property "GoodPropertyType". 1150s # * 1150s # * 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. 1150s # */ 1150s # g_object_interface_install_property (iface, 1150s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1150s # } 1150s # 1150s # /** 1150s # * good_types_get_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * 1150s # * Gets the value of the "GoodPropertyType" D-Bus property. 1150s # * 1150s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1150s # * 1150s # * 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. 1150s # * 1150s # * 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. 1150s # */ 1150s # GVariant * 1150s # good_types_get_good_property_type (GoodTypes *object) 1150s # { 1150s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1150s # 1150s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1150s # } 1150s # 1150s # /** 1150s # * good_types_dup_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * 1150s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1150s # * 1150s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1150s # * 1150s # * 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(). 1150s # */ 1150s # GVariant * 1150s # good_types_dup_good_property_type (GoodTypes *object) 1150s # { 1150s # GVariant *value; 1150s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1150s # return value; 1150s # } 1150s # 1150s # /** 1150s # * good_types_set_good_property_type: (skip) 1150s # * @object: A GoodTypes. 1150s # * @value: The value to set. 1150s # * 1150s # * Sets the "GoodPropertyType" D-Bus property to @value. 1150s # * 1150s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1150s # */ 1150s # void 1150s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1150s # { 1150s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1150s # } 1150s # 1150s # /* ------------------------------------------------------------------------ */ 1150s # 1150s # /** 1150s # * GoodTypesProxy: 1150s # * 1150s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesProxyClass: 1150s # * @parent_class: The parent class. 1150s # * 1150s # * Class structure for GoodTypesProxy. 1150s # */ 1150s # 1150s # struct _GoodTypesProxyPrivate 1150s # { 1150s # GData *qdata; 1150s # }; 1150s # 1150s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1150s # G_ADD_PRIVATE (GoodTypesProxy) 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1150s # 1150s # #else 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1150s # 1150s # #endif 1150s # static void 1150s # good_types_proxy_finalize (GObject *object) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1150s # g_datalist_clear (&proxy->priv->qdata); 1150s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_get_property (GObject *object, 1150s # guint prop_id, 1150s # GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *variant; 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1150s # if (info->use_gvariant) 1150s # { 1150s # g_value_set_variant (value, variant); 1150s # } 1150s # else 1150s # { 1150s # if (variant != NULL) 1150s # g_dbus_gvariant_to_gvalue (variant, value); 1150s # } 1150s # if (variant != NULL) 1150s # g_variant_unref (variant); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1150s # GAsyncResult *res, 1150s # gpointer user_data) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info = user_data; 1150s # GError *error; 1150s # GVariant *_ret; 1150s # error = NULL; 1150s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1150s # if (!_ret) 1150s # { 1150s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1150s # info->parent_struct.name, 1150s # error->message, g_quark_to_string (error->domain), error->code); 1150s # g_error_free (error); 1150s # } 1150s # else 1150s # { 1150s # g_variant_unref (_ret); 1150s # } 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_set_property (GObject *object, 1150s # guint prop_id, 1150s # const GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *variant; 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1150s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1150s # "org.freedesktop.DBus.Properties.Set", 1150s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1150s # G_DBUS_CALL_FLAGS_NONE, 1150s # -1, 1150s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1150s # g_variant_unref (variant); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_g_signal (GDBusProxy *proxy, 1150s # const gchar *sender_name G_GNUC_UNUSED, 1150s # const gchar *signal_name, 1150s # GVariant *parameters) 1150s # { 1150s # _ExtendedGDBusSignalInfo *info; 1150s # GVariantIter iter; 1150s # GVariant *child; 1150s # GValue *paramv; 1150s # gsize num_params; 1150s # gsize n; 1150s # guint signal_id; 1150s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1150s # if (info == NULL) 1150s # return; 1150s # num_params = g_variant_n_children (parameters); 1150s # paramv = g_new0 (GValue, num_params + 1); 1150s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1150s # g_value_set_object (¶mv[0], proxy); 1150s # g_variant_iter_init (&iter, parameters); 1150s # n = 1; 1150s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1150s # { 1150s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1150s # if (arg_info->use_gvariant) 1150s # { 1150s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1150s # g_value_set_variant (¶mv[n], child); 1150s # n++; 1150s # } 1150s # else 1150s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1150s # g_variant_unref (child); 1150s # } 1150s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1150s # g_signal_emitv (paramv, signal_id, 0, NULL); 1150s # for (n = 0; n < num_params + 1; n++) 1150s # g_value_unset (¶mv[n]); 1150s # g_free (paramv); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1150s # GVariant *changed_properties, 1150s # const gchar *const *invalidated_properties) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1150s # guint n; 1150s # const gchar *key; 1150s # GVariantIter *iter; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # g_variant_get (changed_properties, "a{sv}", &iter); 1150s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1150s # { 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1150s # g_datalist_remove_data (&proxy->priv->qdata, key); 1150s # if (info != NULL) 1150s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1150s # } 1150s # g_variant_iter_free (iter); 1150s # for (n = 0; invalidated_properties[n] != NULL; n++) 1150s # { 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1150s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1150s # if (info != NULL) 1150s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1150s # } 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_proxy_get_good_property_type (GoodTypes *object) 1150s # { 1150s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1150s # GVariant *variant; 1150s # GVariant *value = NULL; 1150s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1150s # value = variant; 1150s # if (variant != NULL) 1150s # g_variant_unref (variant); 1150s # return value; 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_init (GoodTypesProxy *proxy) 1150s # { 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1150s # #else 1150s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1150s # #endif 1150s # 1150s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1150s # { 1150s # GObjectClass *gobject_class; 1150s # GDBusProxyClass *proxy_class; 1150s # 1150s # gobject_class = G_OBJECT_CLASS (klass); 1150s # gobject_class->finalize = good_types_proxy_finalize; 1150s # gobject_class->get_property = good_types_proxy_get_property; 1150s # gobject_class->set_property = good_types_proxy_set_property; 1150s # 1150s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1150s # proxy_class->g_signal = good_types_proxy_g_signal; 1150s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1150s # 1150s # good_types_override_properties (gobject_class, 1); 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1150s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1150s # #endif 1150s # } 1150s # 1150s # static void 1150s # good_types_proxy_iface_init (GoodTypesIface *iface) 1150s # { 1150s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new: 1150s # * @connection: A #GDBusConnection. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1150s # * @user_data: User data to pass to @callback. 1150s # * 1150s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1150s # * 1150s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1150s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1150s # * 1150s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1150s # */ 1150s # void 1150s # good_types_proxy_new ( 1150s # GDBusConnection *connection, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GAsyncReadyCallback callback, 1150s # gpointer user_data) 1150s # { 1150s # 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); 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_finish: 1150s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Finishes an operation started with good_types_proxy_new(). 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_finish ( 1150s # GAsyncResult *res, 1150s # GError **error) 1150s # { 1150s # GObject *ret; 1150s # GObject *source_object; 1150s # source_object = g_async_result_get_source_object (res); 1150s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1150s # g_object_unref (source_object); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_sync: 1150s # * @connection: A #GDBusConnection. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1150s # * 1150s # * The calling thread is blocked until a reply is received. 1150s # * 1150s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_sync ( 1150s # GDBusConnection *connection, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GError **error) 1150s # { 1150s # GInitable *ret; 1150s # 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); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus: 1150s # * @bus_type: A #GBusType. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: A bus name (well-known or unique). 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1150s # * @user_data: User data to pass to @callback. 1150s # * 1150s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1150s # * 1150s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1150s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1150s # * 1150s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1150s # */ 1150s # void 1150s # good_types_proxy_new_for_bus ( 1150s # GBusType bus_type, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GAsyncReadyCallback callback, 1150s # gpointer user_data) 1150s # { 1150s # 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); 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus_finish: 1150s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_for_bus_finish ( 1150s # GAsyncResult *res, 1150s # GError **error) 1150s # { 1150s # GObject *ret; 1150s # GObject *source_object; 1150s # source_object = g_async_result_get_source_object (res); 1150s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1150s # g_object_unref (source_object); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # /** 1150s # * good_types_proxy_new_for_bus_sync: 1150s # * @bus_type: A #GBusType. 1150s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1150s # * @name: A bus name (well-known or unique). 1150s # * @object_path: An object path. 1150s # * @cancellable: (nullable): A #GCancellable or %NULL. 1150s # * @error: Return location for error or %NULL 1150s # * 1150s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1150s # * 1150s # * The calling thread is blocked until a reply is received. 1150s # * 1150s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1150s # */ 1150s # GoodTypes * 1150s # good_types_proxy_new_for_bus_sync ( 1150s # GBusType bus_type, 1150s # GDBusProxyFlags flags, 1150s # const gchar *name, 1150s # const gchar *object_path, 1150s # GCancellable *cancellable, 1150s # GError **error) 1150s # { 1150s # GInitable *ret; 1150s # 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); 1150s # if (ret != NULL) 1150s # return GOOD_TYPES (ret); 1150s # else 1150s # return NULL; 1150s # } 1150s # 1150s # 1150s # /* ------------------------------------------------------------------------ */ 1150s # 1150s # /** 1150s # * GoodTypesSkeleton: 1150s # * 1150s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1150s # */ 1150s # 1150s # /** 1150s # * GoodTypesSkeletonClass: 1150s # * @parent_class: The parent class. 1150s # * 1150s # * Class structure for GoodTypesSkeleton. 1150s # */ 1150s # 1150s # struct _GoodTypesSkeletonPrivate 1150s # { 1150s # GValue *properties; 1150s # GList *changed_properties; 1150s # GSource *changed_properties_idle_source; 1150s # GMainContext *context; 1150s # GMutex lock; 1150s # }; 1150s # 1150s # static void 1150s # _good_types_skeleton_handle_method_call ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name, 1150s # const gchar *method_name, 1150s # GVariant *parameters, 1150s # GDBusMethodInvocation *invocation, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # _ExtendedGDBusMethodInfo *info; 1150s # GVariantIter iter; 1150s # GVariant *child; 1150s # GValue *paramv; 1150s # gsize num_params; 1150s # guint num_extra; 1150s # gsize n; 1150s # guint signal_id; 1150s # GValue return_value = G_VALUE_INIT; 1150s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1150s # g_assert (info != NULL); 1150s # num_params = g_variant_n_children (parameters); 1150s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1150s # n = 0; 1150s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1150s # g_value_set_object (¶mv[n++], skeleton); 1150s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1150s # g_value_set_object (¶mv[n++], invocation); 1150s # if (info->pass_fdlist) 1150s # { 1150s # #ifdef G_OS_UNIX 1150s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1150s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1150s # #else 1150s # g_assert_not_reached (); 1150s # #endif 1150s # } 1150s # g_variant_iter_init (&iter, parameters); 1150s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1150s # { 1150s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1150s # if (arg_info->use_gvariant) 1150s # { 1150s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1150s # g_value_set_variant (¶mv[n], child); 1150s # n++; 1150s # } 1150s # else 1150s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1150s # g_variant_unref (child); 1150s # } 1150s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1150s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1150s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1150s # if (!g_value_get_boolean (&return_value)) 1150s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1150s # g_value_unset (&return_value); 1150s # for (n = 0; n < num_params + num_extra; n++) 1150s # g_value_unset (¶mv[n]); 1150s # g_free (paramv); 1150s # } 1150s # 1150s # static GVariant * 1150s # _good_types_skeleton_handle_get_property ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name G_GNUC_UNUSED, 1150s # const gchar *property_name, 1150s # GError **error, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GValue value = G_VALUE_INIT; 1150s # GParamSpec *pspec; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # GVariant *ret; 1150s # ret = NULL; 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1150s # g_assert (info != NULL); 1150s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1150s # if (pspec == NULL) 1150s # { 1150s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1150s # } 1150s # else 1150s # { 1150s # g_value_init (&value, pspec->value_type); 1150s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1150s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1150s # g_value_unset (&value); 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _good_types_skeleton_handle_set_property ( 1150s # GDBusConnection *connection G_GNUC_UNUSED, 1150s # const gchar *sender G_GNUC_UNUSED, 1150s # const gchar *object_path G_GNUC_UNUSED, 1150s # const gchar *interface_name G_GNUC_UNUSED, 1150s # const gchar *property_name, 1150s # GVariant *variant, 1150s # GError **error, 1150s # gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GValue value = G_VALUE_INIT; 1150s # GParamSpec *pspec; 1150s # _ExtendedGDBusPropertyInfo *info; 1150s # gboolean ret; 1150s # ret = FALSE; 1150s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1150s # g_assert (info != NULL); 1150s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1150s # if (pspec == NULL) 1150s # { 1150s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1150s # } 1150s # else 1150s # { 1150s # if (info->use_gvariant) 1150s # g_value_set_variant (&value, variant); 1150s # else 1150s # g_dbus_gvariant_to_gvalue (variant, &value); 1150s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1150s # g_value_unset (&value); 1150s # ret = TRUE; 1150s # } 1150s # return ret; 1150s # } 1150s # 1150s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1150s # { 1150s # _good_types_skeleton_handle_method_call, 1150s # _good_types_skeleton_handle_get_property, 1150s # _good_types_skeleton_handle_set_property, 1150s # {NULL} 1150s # }; 1150s # 1150s # static GDBusInterfaceInfo * 1150s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1150s # { 1150s # return good_types_interface_info (); 1150s # } 1150s # 1150s # static GDBusInterfaceVTable * 1150s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1150s # { 1150s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1150s # 1150s # GVariantBuilder builder; 1150s # guint n; 1150s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1150s # if (_good_types_interface_info.parent_struct.properties == NULL) 1150s # goto out; 1150s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1150s # { 1150s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1150s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1150s # { 1150s # GVariant *value; 1150s # 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); 1150s # if (value != NULL) 1150s # { 1150s # g_variant_take_ref (value); 1150s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1150s # g_variant_unref (value); 1150s # } 1150s # } 1150s # } 1150s # out: 1150s # return g_variant_builder_end (&builder); 1150s # } 1150s # 1150s # static gboolean _good_types_emit_changed (gpointer user_data); 1150s # 1150s # static void 1150s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1150s # gboolean emit_changed = FALSE; 1150s # 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # if (skeleton->priv->changed_properties_idle_source != NULL) 1150s # { 1150s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1150s # skeleton->priv->changed_properties_idle_source = NULL; 1150s # emit_changed = TRUE; 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # 1150s # if (emit_changed) 1150s # _good_types_emit_changed (skeleton); 1150s # } 1150s # 1150s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1150s # G_ADD_PRIVATE (GoodTypesSkeleton) 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1150s # 1150s # #else 1150s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1150s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1150s # 1150s # #endif 1150s # static void 1150s # good_types_skeleton_finalize (GObject *object) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # guint n; 1150s # for (n = 0; n < 1; n++) 1150s # g_value_unset (&skeleton->priv->properties[n]); 1150s # g_free (skeleton->priv->properties); 1150s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1150s # if (skeleton->priv->changed_properties_idle_source != NULL) 1150s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1150s # g_main_context_unref (skeleton->priv->context); 1150s # g_mutex_clear (&skeleton->priv->lock); 1150s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_get_property (GObject *object, 1150s # guint prop_id, 1150s # GValue *value, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # } 1150s # 1150s # static gboolean 1150s # _good_types_emit_changed (gpointer user_data) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1150s # GList *l; 1150s # GVariantBuilder builder; 1150s # GVariantBuilder invalidated_builder; 1150s # guint num_changes; 1150s # 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1150s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1150s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1150s # { 1150s # ChangedProperty *cp = l->data; 1150s # GVariant *variant; 1150s # const GValue *cur_value; 1150s # 1150s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1150s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1150s # { 1150s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1150s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1150s # g_variant_unref (variant); 1150s # num_changes++; 1150s # } 1150s # } 1150s # if (num_changes > 0) 1150s # { 1150s # GList *connections, *ll; 1150s # GVariant *signal_variant; 1150s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1150s # &builder, &invalidated_builder)); 1150s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1150s # for (ll = connections; ll != NULL; ll = ll->next) 1150s # { 1150s # GDBusConnection *connection = ll->data; 1150s # 1150s # g_dbus_connection_emit_signal (connection, 1150s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1150s # "org.freedesktop.DBus.Properties", 1150s # "PropertiesChanged", 1150s # signal_variant, 1150s # NULL); 1150s # } 1150s # g_variant_unref (signal_variant); 1150s # g_list_free_full (connections, g_object_unref); 1150s # } 1150s # else 1150s # { 1150s # g_variant_builder_clear (&builder); 1150s # g_variant_builder_clear (&invalidated_builder); 1150s # } 1150s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1150s # skeleton->priv->changed_properties = NULL; 1150s # skeleton->priv->changed_properties_idle_source = NULL; 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # return FALSE; 1150s # } 1150s # 1150s # static void 1150s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1150s # { 1150s # ChangedProperty *cp; 1150s # GList *l; 1150s # cp = NULL; 1150s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1150s # { 1150s # ChangedProperty *i_cp = l->data; 1150s # if (i_cp->info == info) 1150s # { 1150s # cp = i_cp; 1150s # break; 1150s # } 1150s # } 1150s # if (cp == NULL) 1150s # { 1150s # cp = g_new0 (ChangedProperty, 1); 1150s # cp->prop_id = prop_id; 1150s # cp->info = info; 1150s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1150s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1150s # g_value_copy (orig_value, &cp->orig_value); 1150s # } 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_notify (GObject *object, 1150s # GParamSpec *pspec G_GNUC_UNUSED) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # if (skeleton->priv->changed_properties != NULL && 1150s # skeleton->priv->changed_properties_idle_source == NULL) 1150s # { 1150s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1150s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1150s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1150s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1150s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1150s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_set_property (GObject *object, 1150s # guint prop_id, 1150s # const GValue *value, 1150s # GParamSpec *pspec) 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1150s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # g_object_freeze_notify (object); 1150s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1150s # { 1150s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1150s # info->emits_changed_signal) 1150s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1150s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1150s # g_object_notify_by_pspec (object, pspec); 1150s # } 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # g_object_thaw_notify (object); 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1150s # { 1150s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1150s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1150s # #else 1150s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1150s # #endif 1150s # 1150s # g_mutex_init (&skeleton->priv->lock); 1150s # skeleton->priv->context = g_main_context_ref_thread_default (); 1150s # skeleton->priv->properties = g_new0 (GValue, 1); 1150s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1150s # } 1150s # 1150s # static GVariant * 1150s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1150s # { 1150s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1150s # GVariant *value; 1150s # g_mutex_lock (&skeleton->priv->lock); 1150s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1150s # g_mutex_unlock (&skeleton->priv->lock); 1150s # return value; 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1150s # { 1150s # GObjectClass *gobject_class; 1150s # GDBusInterfaceSkeletonClass *skeleton_class; 1150s # 1150s # gobject_class = G_OBJECT_CLASS (klass); 1150s # gobject_class->finalize = good_types_skeleton_finalize; 1150s # gobject_class->get_property = good_types_skeleton_get_property; 1150s # gobject_class->set_property = good_types_skeleton_set_property; 1150s # gobject_class->notify = good_types_skeleton_notify; 1150s # 1150s # 1150s # good_types_override_properties (gobject_class, 1); 1150s # 1150s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1150s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1150s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1150s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1150s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1150s # 1150s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1150s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1150s # #endif 1150s # } 1150s # 1150s # static void 1150s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1150s # { 1150s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1150s # } 1150s # 1150s # /** 1150s # * good_types_skeleton_new: 1150s # * 1150s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1150s # * 1150s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1150s # */ 1150s # GoodTypes * 1150s # good_types_skeleton_new (void) 1150s # { 1150s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1150s # } 1150s ok 3 __main__.TestCodegen.test_empty_interface_body 1150s # tmpdir: /tmp/tmp9vqefm2h 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmp9vqefm2h/tmp5jnhtdxo.xml: 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9vqefm2h/tmp5jnhtdxo.xml', '--output', '-', '--body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifdef HAVE_CONFIG_H 1150s # # include "config.h" 1150s # #endif 1150s # 1150s # #include 1150s # #ifdef G_OS_UNIX 1150s # # include 1150s # #endif 1150s # 1150s # #ifdef G_ENABLE_DEBUG 1150s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1150s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1150s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1150s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1150s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1150s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1150s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1150s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1150s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1150s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1150s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1150s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1150s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1150s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1150s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1150s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1150s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1150s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1150s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1150s # #else /* !G_ENABLE_DEBUG */ 1150s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1150s # * Do not access GValues directly in your code. Instead, use the 1150s # * g_value_get_*() functions 1150s # */ 1150s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1150s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1150s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1150s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1150s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1150s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1150s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1150s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1150s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1150s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1150s # #endif /* !G_ENABLE_DEBUG */ 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusArgInfo parent_struct; 1150s # gboolean use_gvariant; 1150s # } _ExtendedGDBusArgInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusMethodInfo parent_struct; 1150s # const gchar *signal_name; 1150s # gboolean pass_fdlist; 1150s # } _ExtendedGDBusMethodInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusSignalInfo parent_struct; 1150s # const gchar *signal_name; 1150s # } _ExtendedGDBusSignalInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusPropertyInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # guint use_gvariant : 1; 1150s # guint emits_changed_signal : 1; 1150s # } _ExtendedGDBusPropertyInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # GDBusInterfaceInfo parent_struct; 1150s # const gchar *hyphen_name; 1150s # } _ExtendedGDBusInterfaceInfo; 1150s # 1150s # typedef struct 1150s # { 1150s # const _ExtendedGDBusPropertyInfo *info; 1150s # guint prop_id; 1150s # GValue orig_value; /* the value before the change */ 1150s # } ChangedProperty; 1150s # 1150s # static void 1150s # _changed_property_free (ChangedProperty *data) 1150s # { 1150s # g_value_unset (&data->orig_value); 1150s # g_free (data); 1150s # } 1150s # 1150s # static gboolean 1150s # _g_strv_equal0 (gchar **a, gchar **b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # guint n; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # if (g_strv_length (a) != g_strv_length (b)) 1150s # goto out; 1150s # for (n = 0; a[n] != NULL; n++) 1150s # if (g_strcmp0 (a[n], b[n]) != 0) 1150s # goto out; 1150s # ret = TRUE; 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # static gboolean 1150s # _g_variant_equal0 (GVariant *a, GVariant *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # if (a == NULL && b == NULL) 1150s # { 1150s # ret = TRUE; 1150s # goto out; 1150s # } 1150s # if (a == NULL || b == NULL) 1150s # goto out; 1150s # ret = g_variant_equal (a, b); 1150s # out: 1150s # return ret; 1150s # } 1150s # 1150s # G_GNUC_UNUSED static gboolean 1150s # _g_value_equal (const GValue *a, const GValue *b) 1150s # { 1150s # gboolean ret = FALSE; 1150s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1150s # switch (G_VALUE_TYPE (a)) 1150s # { 1150s # case G_TYPE_BOOLEAN: 1150s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1150s # break; 1150s # case G_TYPE_UCHAR: 1150s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1150s # break; 1150s # case G_TYPE_INT: 1150s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1150s # break; 1150s # case G_TYPE_UINT: 1150s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1150s # break; 1150s # case G_TYPE_INT64: 1150s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1150s # break; 1150s # case G_TYPE_UINT64: 1150s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1150s # break; 1150s # case G_TYPE_DOUBLE: 1150s # { 1150s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1150s # gdouble da = g_value_get_double (a); 1150s # gdouble db = g_value_get_double (b); 1150s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1150s # } 1150s # break; 1150s # case G_TYPE_STRING: 1150s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1150s # break; 1150s # case G_TYPE_VARIANT: 1150s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1150s # break; 1150s # default: 1150s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1150s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1150s # else 1150s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1150s # break; 1150s # } 1150s # return ret; 1150s # } 1150s ok 4 __main__.TestCodegen.test_empty_interface_header 1150s # tmpdir: /tmp/tmprh758phd 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmprh758phd/tmpc9f1y1w9.xml: 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprh758phd/tmpc9f1y1w9.xml', '--output', '-', '--header'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifndef __STDOUT__ 1150s # #define __STDOUT__ 1150s # 1150s # #include 1150s # 1150s # G_BEGIN_DECLS 1150s # 1150s # 1150s # G_END_DECLS 1150s # 1150s # #endif /* __STDOUT__ */ 1150s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1150s # tmpdir: /tmp/tmpxzqtdufj 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmpxzqtdufj/tmpkyzrlxbl.xml: 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxzqtdufj/tmpkyzrlxbl.xml', '--output', '-', '--interface-info-body'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifdef HAVE_CONFIG_H 1150s # # include "config.h" 1150s # #endif 1150s # 1150s # #include 1150s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1150s # tmpdir: /tmp/tmpi4_t924a 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmpi4_t924a/tmpnnq2z979.xml: 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi4_t924a/tmpnnq2z979.xml', '--output', '-', '--interface-info-header'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: /* 1150s # * This file is generated by gdbus-codegen, do not modify it. 1150s # * 1150s # * The license of this code is the same as for the D-Bus interface description 1150s # * it was derived from. Note that it links to GLib, so must comply with the 1150s # * LGPL linking clauses. 1150s # */ 1150s # 1150s # #ifndef __STDOUT__ 1150s # #define __STDOUT__ 1150s # 1150s # #include 1150s # 1150s # G_BEGIN_DECLS 1150s # 1150s # 1150s # G_END_DECLS 1150s # 1150s # #endif /* __STDOUT__ */ 1150s ok 7 __main__.TestCodegen.test_generate_docbook 1150s # tmpdir: /tmp/tmp4h5c5u6i 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmp4h5c5u6i/tmpaxp61znd.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4h5c5u6i/tmpaxp61znd.xml', '--generate-docbook', 'test'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: 1150s ok 8 __main__.TestCodegen.test_generate_md 1150s # tmpdir: /tmp/tmp2t5m3u4h 1150s # codegen: /usr/bin/gdbus-codegen 1150s # /tmp/tmp2t5m3u4h/tmp19m5q7uk.xml: 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # 1150s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2t5m3u4h/tmp19m5q7uk.xml', '--generate-md', 'test'] 1150s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1150s # Output: 1151s # Executing: glib/codegen.py.test 1151s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1151s # tmpdir: /tmp/tmp990fnp6g 1151s # codegen: /usr/bin/gdbus-codegen 1151s # /tmp/tmp990fnp6g/tmpx205lse_.xml: 1151s # 1151s # 1151s # 1151s # 1151s # 1151s # 1151s # 1151s # 1151s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp990fnp6g/tmpx205lse_.xml', '--output', '-', '--body'] 1151s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1151s # Output: /* 1151s # * This file is generated by gdbus-codegen, do not modify it. 1151s # * 1151s # * The license of this code is the same as for the D-Bus interface description 1151s # * it was derived from. Note that it links to GLib, so must comply with the 1151s # * LGPL linking clauses. 1151s # */ 1151s # 1151s # #ifdef HAVE_CONFIG_H 1151s # # include "config.h" 1151s # #endif 1151s # 1151s # #include 1151s # #ifdef G_OS_UNIX 1151s # # include 1151s # #endif 1151s # 1151s # #ifdef G_ENABLE_DEBUG 1151s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1151s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1151s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1151s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1151s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1151s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1151s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1151s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1151s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1151s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1151s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1151s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1151s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1151s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1151s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1151s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1151s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1151s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1151s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1151s # #else /* !G_ENABLE_DEBUG */ 1151s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1151s # * Do not access GValues directly in your code. Instead, use the 1151s # * g_value_get_*() functions 1151s # */ 1151s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1151s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1151s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1151s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1151s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1151s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1151s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1151s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1151s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1151s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1151s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1151s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1151s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1151s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1151s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1151s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1151s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1151s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1151s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1151s # #endif /* !G_ENABLE_DEBUG */ 1151s # 1151s # typedef struct 1151s # { 1151s # GDBusArgInfo parent_struct; 1151s # gboolean use_gvariant; 1151s # } _ExtendedGDBusArgInfo; 1151s # 1151s # typedef struct 1151s # { 1151s # GDBusMethodInfo parent_struct; 1151s # const gchar *signal_name; 1151s # gboolean pass_fdlist; 1151s # } _ExtendedGDBusMethodInfo; 1151s # 1151s # typedef struct 1151s # { 1151s # GDBusSignalInfo parent_struct; 1151s # const gchar *signal_name; 1151s # } _ExtendedGDBusSignalInfo; 1151s # 1151s # typedef struct 1151s # { 1151s # GDBusPropertyInfo parent_struct; 1151s # const gchar *hyphen_name; 1151s # guint use_gvariant : 1; 1151s # guint emits_changed_signal : 1; 1151s # } _ExtendedGDBusPropertyInfo; 1151s # 1151s # typedef struct 1151s # { 1151s # GDBusInterfaceInfo parent_struct; 1151s # const gchar *hyphen_name; 1151s # } _ExtendedGDBusInterfaceInfo; 1151s # 1151s # typedef struct 1151s # { 1151s # const _ExtendedGDBusPropertyInfo *info; 1151s # guint prop_id; 1151s # GValue orig_value; /* the value before the change */ 1151s # } ChangedProperty; 1151s # 1151s # static void 1151s # _changed_property_free (ChangedProperty *data) 1151s # { 1151s # g_value_unset (&data->orig_value); 1151s # g_free (data); 1151s # } 1151s # 1151s # static gboolean 1151s # _g_strv_equal0 (gchar **a, gchar **b) 1151s # { 1151s # gboolean ret = FALSE; 1151s # guint n; 1151s # if (a == NULL && b == NULL) 1151s # { 1151s # ret = TRUE; 1151s # goto out; 1151s # } 1151s # if (a == NULL || b == NULL) 1151s # goto out; 1151s # if (g_strv_length (a) != g_strv_length (b)) 1151s # goto out; 1151s # for (n = 0; a[n] != NULL; n++) 1151s # if (g_strcmp0 (a[n], b[n]) != 0) 1151s # goto out; 1151s # ret = TRUE; 1151s # out: 1151s # return ret; 1151s # } 1151s # 1151s # static gboolean 1151s # _g_variant_equal0 (GVariant *a, GVariant *b) 1151s # { 1151s # gboolean ret = FALSE; 1151s # if (a == NULL && b == NULL) 1151s # { 1151s # ret = TRUE; 1151s # goto out; 1151s # } 1151s # if (a == NULL || b == NULL) 1151s # goto out; 1151s # ret = g_variant_equal (a, b); 1151s # out: 1151s # return ret; 1151s # } 1151s # 1151s # G_GNUC_UNUSED static gboolean 1151s # _g_value_equal (const GValue *a, const GValue *b) 1151s # { 1151s # gboolean ret = FALSE; 1151s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1151s # switch (G_VALUE_TYPE (a)) 1151s # { 1151s # case G_TYPE_BOOLEAN: 1151s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1151s # break; 1151s # case G_TYPE_UCHAR: 1151s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1151s # break; 1151s # case G_TYPE_INT: 1151s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1151s # break; 1151s # case G_TYPE_UINT: 1151s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1151s # break; 1151s # case G_TYPE_INT64: 1151s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1151s # break; 1151s # case G_TYPE_UINT64: 1151s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1151s # break; 1151s # case G_TYPE_DOUBLE: 1151s # { 1151s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1151s # gdouble da = g_value_get_double (a); 1151s # gdouble db = g_value_get_double (b); 1151s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1151s # } 1151s # break; 1151s # case G_TYPE_STRING: 1151s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1151s # break; 1151s # case G_TYPE_VARIANT: 1151s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1151s # break; 1151s # default: 1151s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1151s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1151s # else 1151s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1151s # break; 1151s # } 1151s # return ret; 1151s # } 1151s # 1151s # static void 1151s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1151s # GClosure *closure, 1151s # GValue *return_value, 1151s # unsigned int n_param_values, 1151s # const GValue *param_values, 1151s # void *invocation_hint G_GNUC_UNUSED, 1151s # void *marshal_data) 1151s # { 1151s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1151s # (void *data1, 1151s # GDBusMethodInvocation *arg_method_invocation, 1151s # void *data2); 1151s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1151s # GCClosure *cc = (GCClosure*) closure; 1151s # void *data1, *data2; 1151s # gboolean v_return; 1151s # 1151s # g_return_if_fail (return_value != NULL); 1151s # g_return_if_fail (n_param_values == 2); 1151s # 1151s # if (G_CCLOSURE_SWAP_DATA (closure)) 1151s # { 1151s # data1 = closure->data; 1151s # data2 = g_value_peek_pointer (param_values + 0); 1151s # } 1151s # else 1151s # { 1151s # data1 = g_value_peek_pointer (param_values + 0); 1151s # data2 = closure->data; 1151s # } 1151s # 1151s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1151s # (marshal_data ? marshal_data : cc->callback); 1151s # 1151s # v_return = 1151s # callback (data1, 1151s # g_marshal_value_peek_object (param_values + 1), 1151s # data2); 1151s # 1151s # g_value_set_boolean (return_value, v_return); 1151s # } 1151s # 1151s # /* ------------------------------------------------------------------------ 1151s # * Code for interface org.project.CallableIface 1151s # * ------------------------------------------------------------------------ 1151s # */ 1151s # 1151s # /** 1151s # * SECTION:OrgProjectCallableIface 1151s # * @title: OrgProjectCallableIface 1151s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1151s # * 1151s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1151s # */ 1151s # 1151s # /* ---- Introspection data for org.project.CallableIface ---- */ 1151s # 1151s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1151s # { 1151s # { 1151s # -1, 1151s # (gchar *) "SimpleMethod", 1151s # NULL, 1151s # NULL, 1151s # NULL 1151s # }, 1151s # "handle-simple-method", 1151s # FALSE 1151s # }; 1151s # 1151s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1151s # { 1151s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1151s # NULL 1151s # }; 1151s # 1151s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1151s # { 1151s # { 1151s # -1, 1151s # (gchar *) "org.project.CallableIface", 1151s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1151s # NULL, 1151s # NULL, 1151s # NULL 1151s # }, 1151s # "org-project-callable-iface", 1151s # }; 1151s # 1151s # 1151s # /** 1151s # * org_project_callable_iface_interface_info: 1151s # * 1151s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1151s # * 1151s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1151s # */ 1151s # GDBusInterfaceInfo * 1151s # org_project_callable_iface_interface_info (void) 1151s # { 1151s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_override_properties: 1151s # * @klass: The class structure for a #GObject derived class. 1151s # * @property_id_begin: The property id to assign to the first overridden property. 1151s # * 1151s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1151s # * The properties are overridden in the order they are defined. 1151s # * 1151s # * Returns: The last property id. 1151s # */ 1151s # guint 1151s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1151s # { 1151s # return property_id_begin - 1; 1151s # } 1151s # 1151s # 1151s # inline static void 1151s # org_project_callable_iface_method_marshal_simple_method ( 1151s # GClosure *closure, 1151s # GValue *return_value, 1151s # unsigned int n_param_values, 1151s # const GValue *param_values, 1151s # void *invocation_hint, 1151s # void *marshal_data) 1151s # { 1151s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1151s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1151s # } 1151s # 1151s # 1151s # /** 1151s # * OrgProjectCallableIface: 1151s # * 1151s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1151s # */ 1151s # 1151s # /** 1151s # * OrgProjectCallableIfaceIface: 1151s # * @parent_iface: The parent interface. 1151s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1151s # * 1151s # * Virtual table for the D-Bus interface org.project.CallableIface. 1151s # */ 1151s # 1151s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1151s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1151s # 1151s # static void 1151s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1151s # { 1151s # /* GObject signals for incoming D-Bus method calls: */ 1151s # /** 1151s # * OrgProjectCallableIface::handle-simple-method: 1151s # * @object: A #OrgProjectCallableIface. 1151s # * @invocation: A #GDBusMethodInvocation. 1151s # * 1151s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1151s # * 1151s # * 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. 1151s # * 1151s # * 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. 1151s # */ 1151s # g_signal_new ("handle-simple-method", 1151s # G_TYPE_FROM_INTERFACE (iface), 1151s # G_SIGNAL_RUN_LAST, 1151s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1151s # g_signal_accumulator_true_handled, 1151s # NULL, 1151s # org_project_callable_iface_method_marshal_simple_method, 1151s # G_TYPE_BOOLEAN, 1151s # 1, 1151s # G_TYPE_DBUS_METHOD_INVOCATION); 1151s # 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_call_simple_method: 1151s # * @proxy: A #OrgProjectCallableIfaceProxy. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1151s # * @user_data: User data to pass to @callback. 1151s # * 1151s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1151s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1151s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1151s # * 1151s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1151s # */ 1151s # void 1151s # org_project_callable_iface_call_simple_method ( 1151s # OrgProjectCallableIface *proxy, 1151s # GCancellable *cancellable, 1151s # GAsyncReadyCallback callback, 1151s # gpointer user_data) 1151s # { 1151s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1151s # "SimpleMethod", 1151s # g_variant_new ("()"), 1151s # G_DBUS_CALL_FLAGS_NONE, 1151s # -1, 1151s # cancellable, 1151s # callback, 1151s # user_data); 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_call_simple_method_finish: 1151s # * @proxy: A #OrgProjectCallableIfaceProxy. 1151s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1151s # * @error: Return location for error or %NULL. 1151s # * 1151s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1151s # * 1151s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1151s # */ 1151s # gboolean 1151s # org_project_callable_iface_call_simple_method_finish ( 1151s # OrgProjectCallableIface *proxy, 1151s # GAsyncResult *res, 1151s # GError **error) 1151s # { 1151s # GVariant *_ret; 1151s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1151s # if (_ret == NULL) 1151s # goto _out; 1151s # g_variant_get (_ret, 1151s # "()"); 1151s # g_variant_unref (_ret); 1151s # _out: 1151s # return _ret != NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_call_simple_method_sync: 1151s # * @proxy: A #OrgProjectCallableIfaceProxy. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @error: Return location for error or %NULL. 1151s # * 1151s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1151s # * 1151s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1151s # * 1151s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1151s # */ 1151s # gboolean 1151s # org_project_callable_iface_call_simple_method_sync ( 1151s # OrgProjectCallableIface *proxy, 1151s # GCancellable *cancellable, 1151s # GError **error) 1151s # { 1151s # GVariant *_ret; 1151s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1151s # "SimpleMethod", 1151s # g_variant_new ("()"), 1151s # G_DBUS_CALL_FLAGS_NONE, 1151s # -1, 1151s # cancellable, 1151s # error); 1151s # if (_ret == NULL) 1151s # goto _out; 1151s # g_variant_get (_ret, 1151s # "()"); 1151s # g_variant_unref (_ret); 1151s # _out: 1151s # return _ret != NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_complete_simple_method: 1151s # * @object: A #OrgProjectCallableIface. 1151s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1151s # * 1151s # * 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. 1151s # * 1151s # * This method will free @invocation, you cannot use it afterwards. 1151s # */ 1151s # void 1151s # org_project_callable_iface_complete_simple_method ( 1151s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1151s # GDBusMethodInvocation *invocation) 1151s # { 1151s # g_dbus_method_invocation_return_value (invocation, 1151s # g_variant_new ("()")); 1151s # } 1151s # 1151s # /* ------------------------------------------------------------------------ */ 1151s # 1151s # /** 1151s # * OrgProjectCallableIfaceProxy: 1151s # * 1151s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1151s # */ 1151s # 1151s # /** 1151s # * OrgProjectCallableIfaceProxyClass: 1151s # * @parent_class: The parent class. 1151s # * 1151s # * Class structure for #OrgProjectCallableIfaceProxy. 1151s # */ 1151s # 1151s # struct _OrgProjectCallableIfaceProxyPrivate 1151s # { 1151s # GData *qdata; 1151s # }; 1151s # 1151s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1151s # 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1151s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1151s # 1151s # #else 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1151s # 1151s # #endif 1151s # static void 1151s # org_project_callable_iface_proxy_finalize (GObject *object) 1151s # { 1151s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1151s # g_datalist_clear (&proxy->priv->qdata); 1151s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1151s # guint prop_id G_GNUC_UNUSED, 1151s # GValue *value G_GNUC_UNUSED, 1151s # GParamSpec *pspec G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1151s # guint prop_id G_GNUC_UNUSED, 1151s # const GValue *value G_GNUC_UNUSED, 1151s # GParamSpec *pspec G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1151s # const gchar *sender_name G_GNUC_UNUSED, 1151s # const gchar *signal_name, 1151s # GVariant *parameters) 1151s # { 1151s # _ExtendedGDBusSignalInfo *info; 1151s # GVariantIter iter; 1151s # GVariant *child; 1151s # GValue *paramv; 1151s # gsize num_params; 1151s # gsize n; 1151s # guint signal_id; 1151s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1151s # if (info == NULL) 1151s # return; 1151s # num_params = g_variant_n_children (parameters); 1151s # paramv = g_new0 (GValue, num_params + 1); 1151s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1151s # g_value_set_object (¶mv[0], proxy); 1151s # g_variant_iter_init (&iter, parameters); 1151s # n = 1; 1151s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1151s # { 1151s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1151s # if (arg_info->use_gvariant) 1151s # { 1151s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1151s # g_value_set_variant (¶mv[n], child); 1151s # n++; 1151s # } 1151s # else 1151s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1151s # g_variant_unref (child); 1151s # } 1151s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1151s # g_signal_emitv (paramv, signal_id, 0, NULL); 1151s # for (n = 0; n < num_params + 1; n++) 1151s # g_value_unset (¶mv[n]); 1151s # g_free (paramv); 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1151s # GVariant *changed_properties, 1151s # const gchar *const *invalidated_properties) 1151s # { 1151s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1151s # guint n; 1151s # const gchar *key; 1151s # GVariantIter *iter; 1151s # _ExtendedGDBusPropertyInfo *info; 1151s # g_variant_get (changed_properties, "a{sv}", &iter); 1151s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1151s # { 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1151s # g_datalist_remove_data (&proxy->priv->qdata, key); 1151s # if (info != NULL) 1151s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1151s # } 1151s # g_variant_iter_free (iter); 1151s # for (n = 0; invalidated_properties[n] != NULL; n++) 1151s # { 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1151s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1151s # if (info != NULL) 1151s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1151s # } 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1151s # { 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1151s # #else 1151s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1151s # #endif 1151s # 1151s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1151s # { 1151s # GObjectClass *gobject_class; 1151s # GDBusProxyClass *proxy_class; 1151s # 1151s # gobject_class = G_OBJECT_CLASS (klass); 1151s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1151s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1151s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1151s # 1151s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1151s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1151s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1151s # 1151s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1151s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1151s # #endif 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_proxy_new: 1151s # * @connection: A #GDBusConnection. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1151s # * @user_data: User data to pass to @callback. 1151s # * 1151s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1151s # * 1151s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1151s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1151s # * 1151s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1151s # */ 1151s # void 1151s # org_project_callable_iface_proxy_new ( 1151s # GDBusConnection *connection, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GAsyncReadyCallback callback, 1151s # gpointer user_data) 1151s # { 1151s # 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); 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_proxy_new_finish: 1151s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectCallableIface * 1151s # org_project_callable_iface_proxy_new_finish ( 1151s # GAsyncResult *res, 1151s # GError **error) 1151s # { 1151s # GObject *ret; 1151s # GObject *source_object; 1151s # source_object = g_async_result_get_source_object (res); 1151s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1151s # g_object_unref (source_object); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_proxy_new_sync: 1151s # * @connection: A #GDBusConnection. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1151s # * 1151s # * The calling thread is blocked until a reply is received. 1151s # * 1151s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectCallableIface * 1151s # org_project_callable_iface_proxy_new_sync ( 1151s # GDBusConnection *connection, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GError **error) 1151s # { 1151s # GInitable *ret; 1151s # 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); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # 1151s # /** 1151s # * org_project_callable_iface_proxy_new_for_bus: 1151s # * @bus_type: A #GBusType. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: A bus name (well-known or unique). 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1151s # * @user_data: User data to pass to @callback. 1151s # * 1151s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1151s # * 1151s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1151s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1151s # * 1151s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1151s # */ 1151s # void 1151s # org_project_callable_iface_proxy_new_for_bus ( 1151s # GBusType bus_type, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GAsyncReadyCallback callback, 1151s # gpointer user_data) 1151s # { 1151s # 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); 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_proxy_new_for_bus_finish: 1151s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectCallableIface * 1151s # org_project_callable_iface_proxy_new_for_bus_finish ( 1151s # GAsyncResult *res, 1151s # GError **error) 1151s # { 1151s # GObject *ret; 1151s # GObject *source_object; 1151s # source_object = g_async_result_get_source_object (res); 1151s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1151s # g_object_unref (source_object); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_proxy_new_for_bus_sync: 1151s # * @bus_type: A #GBusType. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: A bus name (well-known or unique). 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1151s # * 1151s # * The calling thread is blocked until a reply is received. 1151s # * 1151s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectCallableIface * 1151s # org_project_callable_iface_proxy_new_for_bus_sync ( 1151s # GBusType bus_type, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GError **error) 1151s # { 1151s # GInitable *ret; 1151s # 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); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # 1151s # /* ------------------------------------------------------------------------ */ 1151s # 1151s # /** 1151s # * OrgProjectCallableIfaceSkeleton: 1151s # * 1151s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1151s # */ 1151s # 1151s # /** 1151s # * OrgProjectCallableIfaceSkeletonClass: 1151s # * @parent_class: The parent class. 1151s # * 1151s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1151s # */ 1151s # 1151s # struct _OrgProjectCallableIfaceSkeletonPrivate 1151s # { 1151s # GValue *properties; 1151s # GList *changed_properties; 1151s # GSource *changed_properties_idle_source; 1151s # GMainContext *context; 1151s # GMutex lock; 1151s # }; 1151s # 1151s # static void 1151s # _org_project_callable_iface_skeleton_handle_method_call ( 1151s # GDBusConnection *connection G_GNUC_UNUSED, 1151s # const gchar *sender G_GNUC_UNUSED, 1151s # const gchar *object_path G_GNUC_UNUSED, 1151s # const gchar *interface_name, 1151s # const gchar *method_name, 1151s # GVariant *parameters, 1151s # GDBusMethodInvocation *invocation, 1151s # gpointer user_data) 1151s # { 1151s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1151s # _ExtendedGDBusMethodInfo *info; 1151s # GVariantIter iter; 1151s # GVariant *child; 1151s # GValue *paramv; 1151s # gsize num_params; 1151s # guint num_extra; 1151s # gsize n; 1151s # guint signal_id; 1151s # GValue return_value = G_VALUE_INIT; 1151s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1151s # g_assert (info != NULL); 1151s # num_params = g_variant_n_children (parameters); 1151s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1151s # n = 0; 1151s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1151s # g_value_set_object (¶mv[n++], skeleton); 1151s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1151s # g_value_set_object (¶mv[n++], invocation); 1151s # if (info->pass_fdlist) 1151s # { 1151s # #ifdef G_OS_UNIX 1151s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1151s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1151s # #else 1151s # g_assert_not_reached (); 1151s # #endif 1151s # } 1151s # g_variant_iter_init (&iter, parameters); 1151s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1151s # { 1151s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1151s # if (arg_info->use_gvariant) 1151s # { 1151s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1151s # g_value_set_variant (¶mv[n], child); 1151s # n++; 1151s # } 1151s # else 1151s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1151s # g_variant_unref (child); 1151s # } 1151s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1151s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1151s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1151s # if (!g_value_get_boolean (&return_value)) 1151s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1151s # g_value_unset (&return_value); 1151s # for (n = 0; n < num_params + num_extra; n++) 1151s # g_value_unset (¶mv[n]); 1151s # g_free (paramv); 1151s # } 1151s # 1151s # static GVariant * 1151s # _org_project_callable_iface_skeleton_handle_get_property ( 1151s # GDBusConnection *connection G_GNUC_UNUSED, 1151s # const gchar *sender G_GNUC_UNUSED, 1151s # const gchar *object_path G_GNUC_UNUSED, 1151s # const gchar *interface_name G_GNUC_UNUSED, 1151s # const gchar *property_name, 1151s # GError **error, 1151s # gpointer user_data) 1151s # { 1151s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1151s # GValue value = G_VALUE_INIT; 1151s # GParamSpec *pspec; 1151s # _ExtendedGDBusPropertyInfo *info; 1151s # GVariant *ret; 1151s # ret = NULL; 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1151s # g_assert (info != NULL); 1151s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1151s # if (pspec == NULL) 1151s # { 1151s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1151s # } 1151s # else 1151s # { 1151s # g_value_init (&value, pspec->value_type); 1151s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1151s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1151s # g_value_unset (&value); 1151s # } 1151s # return ret; 1151s # } 1151s # 1151s # static gboolean 1151s # _org_project_callable_iface_skeleton_handle_set_property ( 1151s # GDBusConnection *connection G_GNUC_UNUSED, 1151s # const gchar *sender G_GNUC_UNUSED, 1151s # const gchar *object_path G_GNUC_UNUSED, 1151s # const gchar *interface_name G_GNUC_UNUSED, 1151s # const gchar *property_name, 1151s # GVariant *variant, 1151s # GError **error, 1151s # gpointer user_data) 1151s # { 1151s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1151s # GValue value = G_VALUE_INIT; 1151s # GParamSpec *pspec; 1151s # _ExtendedGDBusPropertyInfo *info; 1151s # gboolean ret; 1151s # ret = FALSE; 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1151s # g_assert (info != NULL); 1151s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1151s # if (pspec == NULL) 1151s # { 1151s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1151s # } 1151s # else 1151s # { 1151s # if (info->use_gvariant) 1151s # g_value_set_variant (&value, variant); 1151s # else 1151s # g_dbus_gvariant_to_gvalue (variant, &value); 1151s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1151s # g_value_unset (&value); 1151s # ret = TRUE; 1151s # } 1151s # return ret; 1151s # } 1151s # 1151s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1151s # { 1151s # _org_project_callable_iface_skeleton_handle_method_call, 1151s # _org_project_callable_iface_skeleton_handle_get_property, 1151s # _org_project_callable_iface_skeleton_handle_set_property, 1151s # {NULL} 1151s # }; 1151s # 1151s # static GDBusInterfaceInfo * 1151s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1151s # { 1151s # return org_project_callable_iface_interface_info (); 1151s # } 1151s # 1151s # static GDBusInterfaceVTable * 1151s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1151s # { 1151s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1151s # } 1151s # 1151s # static GVariant * 1151s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1151s # { 1151s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1151s # 1151s # GVariantBuilder builder; 1151s # guint n; 1151s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1151s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1151s # goto out; 1151s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1151s # { 1151s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1151s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1151s # { 1151s # GVariant *value; 1151s # 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); 1151s # if (value != NULL) 1151s # { 1151s # g_variant_take_ref (value); 1151s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1151s # g_variant_unref (value); 1151s # } 1151s # } 1151s # } 1151s # out: 1151s # return g_variant_builder_end (&builder); 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1151s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1151s # 1151s # #else 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1151s # 1151s # #endif 1151s # static void 1151s # org_project_callable_iface_skeleton_finalize (GObject *object) 1151s # { 1151s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1151s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1151s # if (skeleton->priv->changed_properties_idle_source != NULL) 1151s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1151s # g_main_context_unref (skeleton->priv->context); 1151s # g_mutex_clear (&skeleton->priv->lock); 1151s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1151s # { 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1151s # #else 1151s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1151s # #endif 1151s # 1151s # g_mutex_init (&skeleton->priv->lock); 1151s # skeleton->priv->context = g_main_context_ref_thread_default (); 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1151s # { 1151s # GObjectClass *gobject_class; 1151s # GDBusInterfaceSkeletonClass *skeleton_class; 1151s # 1151s # gobject_class = G_OBJECT_CLASS (klass); 1151s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1151s # 1151s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1151s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1151s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1151s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1151s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1151s # 1151s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1151s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1151s # #endif 1151s # } 1151s # 1151s # static void 1151s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # /** 1151s # * org_project_callable_iface_skeleton_new: 1151s # * 1151s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1151s # */ 1151s # OrgProjectCallableIface * 1151s # org_project_callable_iface_skeleton_new (void) 1151s # { 1151s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1151s # } 1151s # 1151s # /* ------------------------------------------------------------------------ 1151s # * Code for interface org.project.OtherCallableIface 1151s # * ------------------------------------------------------------------------ 1151s # */ 1151s # 1151s # /** 1151s # * SECTION:OrgProjectOtherCallableIface 1151s # * @title: OrgProjectOtherCallableIface 1151s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1151s # * 1151s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1151s # */ 1151s # 1151s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1151s # 1151s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1151s # { 1151s # { 1151s # -1, 1151s # (gchar *) "SimpleMethod", 1151s # NULL, 1151s # NULL, 1151s # NULL 1151s # }, 1151s # "handle-simple-method", 1151s # FALSE 1151s # }; 1151s # 1151s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1151s # { 1151s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1151s # NULL 1151s # }; 1151s # 1151s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1151s # { 1151s # { 1151s # -1, 1151s # (gchar *) "org.project.OtherCallableIface", 1151s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1151s # NULL, 1151s # NULL, 1151s # NULL 1151s # }, 1151s # "org-project-other-callable-iface", 1151s # }; 1151s # 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_interface_info: 1151s # * 1151s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1151s # * 1151s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1151s # */ 1151s # GDBusInterfaceInfo * 1151s # org_project_other_callable_iface_interface_info (void) 1151s # { 1151s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_override_properties: 1151s # * @klass: The class structure for a #GObject derived class. 1151s # * @property_id_begin: The property id to assign to the first overridden property. 1151s # * 1151s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1151s # * The properties are overridden in the order they are defined. 1151s # * 1151s # * Returns: The last property id. 1151s # */ 1151s # guint 1151s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1151s # { 1151s # return property_id_begin - 1; 1151s # } 1151s # 1151s # 1151s # inline static void 1151s # org_project_other_callable_iface_method_marshal_simple_method ( 1151s # GClosure *closure, 1151s # GValue *return_value, 1151s # unsigned int n_param_values, 1151s # const GValue *param_values, 1151s # void *invocation_hint, 1151s # void *marshal_data) 1151s # { 1151s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1151s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1151s # } 1151s # 1151s # 1151s # /** 1151s # * OrgProjectOtherCallableIface: 1151s # * 1151s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1151s # */ 1151s # 1151s # /** 1151s # * OrgProjectOtherCallableIfaceIface: 1151s # * @parent_iface: The parent interface. 1151s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1151s # * 1151s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1151s # */ 1151s # 1151s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1151s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1151s # 1151s # static void 1151s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1151s # { 1151s # /* GObject signals for incoming D-Bus method calls: */ 1151s # /** 1151s # * OrgProjectOtherCallableIface::handle-simple-method: 1151s # * @object: A #OrgProjectOtherCallableIface. 1151s # * @invocation: A #GDBusMethodInvocation. 1151s # * 1151s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1151s # * 1151s # * 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. 1151s # * 1151s # * 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. 1151s # */ 1151s # g_signal_new ("handle-simple-method", 1151s # G_TYPE_FROM_INTERFACE (iface), 1151s # G_SIGNAL_RUN_LAST, 1151s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1151s # g_signal_accumulator_true_handled, 1151s # NULL, 1151s # org_project_other_callable_iface_method_marshal_simple_method, 1151s # G_TYPE_BOOLEAN, 1151s # 1, 1151s # G_TYPE_DBUS_METHOD_INVOCATION); 1151s # 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_call_simple_method: 1151s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1151s # * @user_data: User data to pass to @callback. 1151s # * 1151s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1151s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1151s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1151s # * 1151s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1151s # */ 1151s # void 1151s # org_project_other_callable_iface_call_simple_method ( 1151s # OrgProjectOtherCallableIface *proxy, 1151s # GCancellable *cancellable, 1151s # GAsyncReadyCallback callback, 1151s # gpointer user_data) 1151s # { 1151s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1151s # "SimpleMethod", 1151s # g_variant_new ("()"), 1151s # G_DBUS_CALL_FLAGS_NONE, 1151s # -1, 1151s # cancellable, 1151s # callback, 1151s # user_data); 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_call_simple_method_finish: 1151s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1151s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1151s # * @error: Return location for error or %NULL. 1151s # * 1151s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1151s # * 1151s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1151s # */ 1151s # gboolean 1151s # org_project_other_callable_iface_call_simple_method_finish ( 1151s # OrgProjectOtherCallableIface *proxy, 1151s # GAsyncResult *res, 1151s # GError **error) 1151s # { 1151s # GVariant *_ret; 1151s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1151s # if (_ret == NULL) 1151s # goto _out; 1151s # g_variant_get (_ret, 1151s # "()"); 1151s # g_variant_unref (_ret); 1151s # _out: 1151s # return _ret != NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_call_simple_method_sync: 1151s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @error: Return location for error or %NULL. 1151s # * 1151s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1151s # * 1151s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1151s # * 1151s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1151s # */ 1151s # gboolean 1151s # org_project_other_callable_iface_call_simple_method_sync ( 1151s # OrgProjectOtherCallableIface *proxy, 1151s # GCancellable *cancellable, 1151s # GError **error) 1151s # { 1151s # GVariant *_ret; 1151s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1151s # "SimpleMethod", 1151s # g_variant_new ("()"), 1151s # G_DBUS_CALL_FLAGS_NONE, 1151s # -1, 1151s # cancellable, 1151s # error); 1151s # if (_ret == NULL) 1151s # goto _out; 1151s # g_variant_get (_ret, 1151s # "()"); 1151s # g_variant_unref (_ret); 1151s # _out: 1151s # return _ret != NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_complete_simple_method: 1151s # * @object: A #OrgProjectOtherCallableIface. 1151s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1151s # * 1151s # * 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. 1151s # * 1151s # * This method will free @invocation, you cannot use it afterwards. 1151s # */ 1151s # void 1151s # org_project_other_callable_iface_complete_simple_method ( 1151s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1151s # GDBusMethodInvocation *invocation) 1151s # { 1151s # g_dbus_method_invocation_return_value (invocation, 1151s # g_variant_new ("()")); 1151s # } 1151s # 1151s # /* ------------------------------------------------------------------------ */ 1151s # 1151s # /** 1151s # * OrgProjectOtherCallableIfaceProxy: 1151s # * 1151s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1151s # */ 1151s # 1151s # /** 1151s # * OrgProjectOtherCallableIfaceProxyClass: 1151s # * @parent_class: The parent class. 1151s # * 1151s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1151s # */ 1151s # 1151s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1151s # { 1151s # GData *qdata; 1151s # }; 1151s # 1151s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1151s # 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1151s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1151s # 1151s # #else 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1151s # 1151s # #endif 1151s # static void 1151s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1151s # { 1151s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1151s # g_datalist_clear (&proxy->priv->qdata); 1151s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1151s # guint prop_id G_GNUC_UNUSED, 1151s # GValue *value G_GNUC_UNUSED, 1151s # GParamSpec *pspec G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1151s # guint prop_id G_GNUC_UNUSED, 1151s # const GValue *value G_GNUC_UNUSED, 1151s # GParamSpec *pspec G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1151s # const gchar *sender_name G_GNUC_UNUSED, 1151s # const gchar *signal_name, 1151s # GVariant *parameters) 1151s # { 1151s # _ExtendedGDBusSignalInfo *info; 1151s # GVariantIter iter; 1151s # GVariant *child; 1151s # GValue *paramv; 1151s # gsize num_params; 1151s # gsize n; 1151s # guint signal_id; 1151s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1151s # if (info == NULL) 1151s # return; 1151s # num_params = g_variant_n_children (parameters); 1151s # paramv = g_new0 (GValue, num_params + 1); 1151s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1151s # g_value_set_object (¶mv[0], proxy); 1151s # g_variant_iter_init (&iter, parameters); 1151s # n = 1; 1151s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1151s # { 1151s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1151s # if (arg_info->use_gvariant) 1151s # { 1151s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1151s # g_value_set_variant (¶mv[n], child); 1151s # n++; 1151s # } 1151s # else 1151s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1151s # g_variant_unref (child); 1151s # } 1151s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1151s # g_signal_emitv (paramv, signal_id, 0, NULL); 1151s # for (n = 0; n < num_params + 1; n++) 1151s # g_value_unset (¶mv[n]); 1151s # g_free (paramv); 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1151s # GVariant *changed_properties, 1151s # const gchar *const *invalidated_properties) 1151s # { 1151s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1151s # guint n; 1151s # const gchar *key; 1151s # GVariantIter *iter; 1151s # _ExtendedGDBusPropertyInfo *info; 1151s # g_variant_get (changed_properties, "a{sv}", &iter); 1151s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1151s # { 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1151s # g_datalist_remove_data (&proxy->priv->qdata, key); 1151s # if (info != NULL) 1151s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1151s # } 1151s # g_variant_iter_free (iter); 1151s # for (n = 0; invalidated_properties[n] != NULL; n++) 1151s # { 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1151s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1151s # if (info != NULL) 1151s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1151s # } 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1151s # { 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1151s # #else 1151s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1151s # #endif 1151s # 1151s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1151s # { 1151s # GObjectClass *gobject_class; 1151s # GDBusProxyClass *proxy_class; 1151s # 1151s # gobject_class = G_OBJECT_CLASS (klass); 1151s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1151s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1151s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1151s # 1151s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1151s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1151s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1151s # 1151s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1151s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1151s # #endif 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_proxy_new: 1151s # * @connection: A #GDBusConnection. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1151s # * @user_data: User data to pass to @callback. 1151s # * 1151s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1151s # * 1151s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1151s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1151s # * 1151s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1151s # */ 1151s # void 1151s # org_project_other_callable_iface_proxy_new ( 1151s # GDBusConnection *connection, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GAsyncReadyCallback callback, 1151s # gpointer user_data) 1151s # { 1151s # 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); 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_proxy_new_finish: 1151s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectOtherCallableIface * 1151s # org_project_other_callable_iface_proxy_new_finish ( 1151s # GAsyncResult *res, 1151s # GError **error) 1151s # { 1151s # GObject *ret; 1151s # GObject *source_object; 1151s # source_object = g_async_result_get_source_object (res); 1151s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1151s # g_object_unref (source_object); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_proxy_new_sync: 1151s # * @connection: A #GDBusConnection. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1151s # * 1151s # * The calling thread is blocked until a reply is received. 1151s # * 1151s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectOtherCallableIface * 1151s # org_project_other_callable_iface_proxy_new_sync ( 1151s # GDBusConnection *connection, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GError **error) 1151s # { 1151s # GInitable *ret; 1151s # 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); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_proxy_new_for_bus: 1151s # * @bus_type: A #GBusType. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: A bus name (well-known or unique). 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1151s # * @user_data: User data to pass to @callback. 1151s # * 1151s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1151s # * 1151s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1151s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1151s # * 1151s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1151s # */ 1151s # void 1151s # org_project_other_callable_iface_proxy_new_for_bus ( 1151s # GBusType bus_type, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GAsyncReadyCallback callback, 1151s # gpointer user_data) 1151s # { 1151s # 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); 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1151s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectOtherCallableIface * 1151s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1151s # GAsyncResult *res, 1151s # GError **error) 1151s # { 1151s # GObject *ret; 1151s # GObject *source_object; 1151s # source_object = g_async_result_get_source_object (res); 1151s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1151s # g_object_unref (source_object); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1151s # * @bus_type: A #GBusType. 1151s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1151s # * @name: A bus name (well-known or unique). 1151s # * @object_path: An object path. 1151s # * @cancellable: (nullable): A #GCancellable or %NULL. 1151s # * @error: Return location for error or %NULL 1151s # * 1151s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1151s # * 1151s # * The calling thread is blocked until a reply is received. 1151s # * 1151s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1151s # */ 1151s # OrgProjectOtherCallableIface * 1151s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1151s # GBusType bus_type, 1151s # GDBusProxyFlags flags, 1151s # const gchar *name, 1151s # const gchar *object_path, 1151s # GCancellable *cancellable, 1151s # GError **error) 1151s # { 1151s # GInitable *ret; 1151s # 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); 1151s # if (ret != NULL) 1151s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1151s # else 1151s # return NULL; 1151s # } 1151s # 1151s # 1151s # /* ------------------------------------------------------------------------ */ 1151s # 1151s # /** 1151s # * OrgProjectOtherCallableIfaceSkeleton: 1151s # * 1151s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1151s # */ 1151s # 1151s # /** 1151s # * OrgProjectOtherCallableIfaceSkeletonClass: 1151s # * @parent_class: The parent class. 1151s # * 1151s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1151s # */ 1151s # 1151s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1151s # { 1151s # GValue *properties; 1151s # GList *changed_properties; 1151s # GSource *changed_properties_idle_source; 1151s # GMainContext *context; 1151s # GMutex lock; 1151s # }; 1151s # 1151s # static void 1151s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1151s # GDBusConnection *connection G_GNUC_UNUSED, 1151s # const gchar *sender G_GNUC_UNUSED, 1151s # const gchar *object_path G_GNUC_UNUSED, 1151s # const gchar *interface_name, 1151s # const gchar *method_name, 1151s # GVariant *parameters, 1151s # GDBusMethodInvocation *invocation, 1151s # gpointer user_data) 1151s # { 1151s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1151s # _ExtendedGDBusMethodInfo *info; 1151s # GVariantIter iter; 1151s # GVariant *child; 1151s # GValue *paramv; 1151s # gsize num_params; 1151s # guint num_extra; 1151s # gsize n; 1151s # guint signal_id; 1151s # GValue return_value = G_VALUE_INIT; 1151s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1151s # g_assert (info != NULL); 1151s # num_params = g_variant_n_children (parameters); 1151s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1151s # n = 0; 1151s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1151s # g_value_set_object (¶mv[n++], skeleton); 1151s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1151s # g_value_set_object (¶mv[n++], invocation); 1151s # if (info->pass_fdlist) 1151s # { 1151s # #ifdef G_OS_UNIX 1151s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1151s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1151s # #else 1151s # g_assert_not_reached (); 1151s # #endif 1151s # } 1151s # g_variant_iter_init (&iter, parameters); 1151s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1151s # { 1151s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1151s # if (arg_info->use_gvariant) 1151s # { 1151s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1151s # g_value_set_variant (¶mv[n], child); 1151s # n++; 1151s # } 1151s # else 1151s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1151s # g_variant_unref (child); 1151s # } 1151s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1151s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1151s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1151s # if (!g_value_get_boolean (&return_value)) 1151s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1151s # g_value_unset (&return_value); 1151s # for (n = 0; n < num_params + num_extra; n++) 1151s # g_value_unset (¶mv[n]); 1151s # g_free (paramv); 1151s # } 1151s # 1151s # static GVariant * 1151s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1151s # GDBusConnection *connection G_GNUC_UNUSED, 1151s # const gchar *sender G_GNUC_UNUSED, 1151s # const gchar *object_path G_GNUC_UNUSED, 1151s # const gchar *interface_name G_GNUC_UNUSED, 1151s # const gchar *property_name, 1151s # GError **error, 1151s # gpointer user_data) 1151s # { 1151s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1151s # GValue value = G_VALUE_INIT; 1151s # GParamSpec *pspec; 1151s # _ExtendedGDBusPropertyInfo *info; 1151s # GVariant *ret; 1151s # ret = NULL; 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1151s # g_assert (info != NULL); 1151s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1151s # if (pspec == NULL) 1151s # { 1151s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1151s # } 1151s # else 1151s # { 1151s # g_value_init (&value, pspec->value_type); 1151s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1151s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1151s # g_value_unset (&value); 1151s # } 1151s # return ret; 1151s # } 1151s # 1151s # static gboolean 1151s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1151s # GDBusConnection *connection G_GNUC_UNUSED, 1151s # const gchar *sender G_GNUC_UNUSED, 1151s # const gchar *object_path G_GNUC_UNUSED, 1151s # const gchar *interface_name G_GNUC_UNUSED, 1151s # const gchar *property_name, 1151s # GVariant *variant, 1151s # GError **error, 1151s # gpointer user_data) 1151s # { 1151s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1151s # GValue value = G_VALUE_INIT; 1151s # GParamSpec *pspec; 1151s # _ExtendedGDBusPropertyInfo *info; 1151s # gboolean ret; 1151s # ret = FALSE; 1151s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1151s # g_assert (info != NULL); 1151s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1151s # if (pspec == NULL) 1151s # { 1151s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1151s # } 1151s # else 1151s # { 1151s # if (info->use_gvariant) 1151s # g_value_set_variant (&value, variant); 1151s # else 1151s # g_dbus_gvariant_to_gvalue (variant, &value); 1151s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1151s # g_value_unset (&value); 1151s # ret = TRUE; 1151s # } 1151s # return ret; 1151s # } 1151s # 1151s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1151s # { 1151s # _org_project_other_callable_iface_skeleton_handle_method_call, 1151s # _org_project_other_callable_iface_skeleton_handle_get_property, 1151s # _org_project_other_callable_iface_skeleton_handle_set_property, 1151s # {NULL} 1151s # }; 1151s # 1151s # static GDBusInterfaceInfo * 1151s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1151s # { 1151s # return org_project_other_callable_iface_interface_info (); 1151s # } 1151s # 1151s # static GDBusInterfaceVTable * 1151s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1151s # { 1151s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1151s # } 1151s # 1151s # static GVariant * 1151s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1151s # { 1151s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1151s # 1151s # GVariantBuilder builder; 1151s # guint n; 1151s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1151s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1151s # goto out; 1151s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1151s # { 1151s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1151s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1151s # { 1151s # GVariant *value; 1151s # 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); 1151s # if (value != NULL) 1151s # { 1151s # g_variant_take_ref (value); 1151s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1151s # g_variant_unref (value); 1151s # } 1151s # } 1151s # } 1151s # out: 1151s # return g_variant_builder_end (&builder); 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1151s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1151s # 1151s # #else 1151s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1151s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1151s # 1151s # #endif 1151s # static void 1151s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1151s # { 1151s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1151s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1151s # if (skeleton->priv->changed_properties_idle_source != NULL) 1151s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1151s # g_main_context_unref (skeleton->priv->context); 1151s # g_mutex_clear (&skeleton->priv->lock); 1151s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1151s # { 1151s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1151s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1151s # #else 1151s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1151s # #endif 1151s # 1151s # g_mutex_init (&skeleton->priv->lock); 1151s # skeleton->priv->context = g_main_context_ref_thread_default (); 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1151s # { 1151s # GObjectClass *gobject_class; 1151s # GDBusInterfaceSkeletonClass *skeleton_class; 1151s # 1151s # gobject_class = G_OBJECT_CLASS (klass); 1151s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1151s # 1151s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1151s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1151s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1151s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1151s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1151s # 1151s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1151s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1151s # #endif 1151s # } 1151s # 1151s # static void 1151s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1151s # { 1151s # } 1151s # 1151s # /** 1151s # * org_project_other_callable_iface_skeleton_new: 1151s # * 1151s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1151s # * 1151s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1151s # */ 1151s # OrgProjectOtherCallableIface * 1151s # org_project_other_callable_iface_skeleton_new (void) 1151s # { 1151s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1151s # } 1152s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1152s # tmpdir: /tmp/tmpf9st55vr 1152s # codegen: /usr/bin/gdbus-codegen 1152s # /tmp/tmpf9st55vr/tmpwoefggw6.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpwoefggw6.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # gboolean arg_arg_b, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_boolean (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_b", 1152s # (gchar *) "b", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodB", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-b", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_b: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-b", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_b, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_b: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_b: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_b ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gboolean arg_arg_b, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodB", 1152s # g_variant_new ("(b)", 1152s # arg_arg_b), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_b_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_b_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_b_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_b: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_b_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gboolean arg_arg_b, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodB", 1152s # g_variant_new ("(b)", 1152s # arg_arg_b), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_b: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_b ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpdtw3rhiw.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpdtw3rhiw.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # guchar arg_arg_y, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_uchar (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_y", 1152s # (gchar *) "y", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodY", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-y", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_y: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-y", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_y, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_y: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_y: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_y ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guchar arg_arg_y, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodY", 1152s # g_variant_new ("(y)", 1152s # arg_arg_y), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_y_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_y_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_y_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_y: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_y_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guchar arg_arg_y, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodY", 1152s # g_variant_new ("(y)", 1152s # arg_arg_y), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_y: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_y ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpqkve0hmm.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpqkve0hmm.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # gint16 arg_arg_n, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_int (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_n", 1152s # (gchar *) "n", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodN", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-n", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_n: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-n", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_n, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_n: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_n: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_n ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint16 arg_arg_n, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodN", 1152s # g_variant_new ("(n)", 1152s # arg_arg_n), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_n_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_n_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_n_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_n: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_n_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint16 arg_arg_n, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodN", 1152s # g_variant_new ("(n)", 1152s # arg_arg_n), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_n: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_n ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpeycnxjhk.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpeycnxjhk.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # guint16 arg_arg_q, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_uint (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_q", 1152s # (gchar *) "q", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodQ", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-q", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_q: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-q", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_q, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_q: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_q: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_q ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint16 arg_arg_q, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodQ", 1152s # g_variant_new ("(q)", 1152s # arg_arg_q), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_q_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_q_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_q_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_q: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_q_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint16 arg_arg_q, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodQ", 1152s # g_variant_new ("(q)", 1152s # arg_arg_q), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_q: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_q ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmp4c40uvxa.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmp4c40uvxa.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # gint arg_arg_i, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_int (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_i", 1152s # (gchar *) "i", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodI", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-i", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_i: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-i", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_i, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_i: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_i: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_i ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint arg_arg_i, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodI", 1152s # g_variant_new ("(i)", 1152s # arg_arg_i), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_i_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_i_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_i_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_i: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_i_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint arg_arg_i, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodI", 1152s # g_variant_new ("(i)", 1152s # arg_arg_i), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_i: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_i ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpfa5goz5h.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpfa5goz5h.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # guint arg_arg_u, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_uint (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_u", 1152s # (gchar *) "u", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodU", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-u", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_u: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-u", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_u, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_u: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_u: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_u ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint arg_arg_u, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodU", 1152s # g_variant_new ("(u)", 1152s # arg_arg_u), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_u_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_u_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_u_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_u: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_u_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint arg_arg_u, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodU", 1152s # g_variant_new ("(u)", 1152s # arg_arg_u), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_u: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_u ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpki3wq5o6.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpki3wq5o6.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # gint64 arg_arg_x, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_int64 (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_x", 1152s # (gchar *) "x", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodX", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-x", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_x: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-x", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_x, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_x: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_x: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_x ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint64 arg_arg_x, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodX", 1152s # g_variant_new ("(x)", 1152s # arg_arg_x), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_x_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_x_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_x_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_x: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_x_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint64 arg_arg_x, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodX", 1152s # g_variant_new ("(x)", 1152s # arg_arg_x), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_x: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_x ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpa6ndj3jl.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpa6ndj3jl.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # guint64 arg_arg_t, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_uint64 (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_t", 1152s # (gchar *) "t", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodT", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-t", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_t: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-t", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_t, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_t: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_t: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_t ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint64 arg_arg_t, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodT", 1152s # g_variant_new ("(t)", 1152s # arg_arg_t), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_t_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_t_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_t_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_t: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_t_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint64 arg_arg_t, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodT", 1152s # g_variant_new ("(t)", 1152s # arg_arg_t), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_t: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_t ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmps13s2ggs.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmps13s2ggs.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # gdouble arg_arg_d, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_double (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_d", 1152s # (gchar *) "d", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodD", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-d", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_d: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-d", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_d, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_d: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_d: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_d ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gdouble arg_arg_d, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodD", 1152s # g_variant_new ("(d)", 1152s # arg_arg_d), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_d_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_d_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_d_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_d: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_d_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gdouble arg_arg_d, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodD", 1152s # g_variant_new ("(d)", 1152s # arg_arg_d), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_d: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_d ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpmefj7zbp.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpmefj7zbp.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *arg_arg_s, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_string (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_s", 1152s # (gchar *) "s", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodS", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-s", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_s: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-s", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_s, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_s: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_s: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_s ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_s, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodS", 1152s # g_variant_new ("(s)", 1152s # arg_arg_s), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_s_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_s_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_s_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_s: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_s_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_s, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodS", 1152s # g_variant_new ("(s)", 1152s # arg_arg_s), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_s: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_s ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmp6k_7b9nh.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmp6k_7b9nh.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *arg_arg_o, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_string (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_o", 1152s # (gchar *) "o", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodO", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-o", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_o: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-o", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_o, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_o: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_o: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_o ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_o, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodO", 1152s # g_variant_new ("(o)", 1152s # arg_arg_o), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_o_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_o_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_o_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_o: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_o_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_o, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodO", 1152s # g_variant_new ("(o)", 1152s # arg_arg_o), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_o: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_o ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmp_jqppljb.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmp_jqppljb.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *arg_arg_g, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_string (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_g", 1152s # (gchar *) "g", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodG", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-g", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_g: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-g", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_g, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_g: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_g: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_g ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_g, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodG", 1152s # g_variant_new ("(g)", 1152s # arg_arg_g), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_g_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_g_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_g_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_g: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_g_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_g, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodG", 1152s # g_variant_new ("(g)", 1152s # arg_arg_g), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_g: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_g ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmppeiy72zx.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmppeiy72zx.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # GVariant *arg_arg_h, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_variant (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_h", 1152s # (gchar *) "h", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodH", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-h", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_h: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-h", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_h, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_h: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_h: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_h ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant *arg_arg_h, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodH", 1152s # g_variant_new ("(@h)", 1152s # arg_arg_h), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_h_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_h_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_h_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_h: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_h_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant *arg_arg_h, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodH", 1152s # g_variant_new ("(@h)", 1152s # arg_arg_h), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_h: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_h ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpqi53nycq.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpqi53nycq.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *arg_arg_ay, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_string (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_ay", 1152s # (gchar *) "ay", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAy", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-ay", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_ay: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-ay", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ay: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_ay: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_ay ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_ay, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAy", 1152s # g_variant_new ("(^ay)", 1152s # arg_arg_ay), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_ay: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *arg_arg_ay, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAy", 1152s # g_variant_new ("(^ay)", 1152s # arg_arg_ay), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_ay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_ay ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmp2wgtzm4u.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmp2wgtzm4u.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *const *arg_arg_as, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_boxed (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_as", 1152s # (gchar *) "as", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAs", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-as", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_as: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-as", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_as, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_as: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_as: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_as ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *const *arg_arg_as, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAs", 1152s # g_variant_new ("(^as)", 1152s # arg_arg_as), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_as_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_as_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_as_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_as: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_as_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *const *arg_arg_as, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAs", 1152s # g_variant_new ("(^as)", 1152s # arg_arg_as), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_as: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_as ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmpt3s5lvbz.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmpt3s5lvbz.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *const *arg_arg_ao, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_boxed (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_ao", 1152s # (gchar *) "ao", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAo", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-ao", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_ao: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-ao", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ao: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_ao: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_ao ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *const *arg_arg_ao, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAo", 1152s # g_variant_new ("(^ao)", 1152s # arg_arg_ao), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_ao: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *const *arg_arg_ao, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAo", 1152s # g_variant_new ("(^ao)", 1152s # arg_arg_ao), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_ao: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_ao ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmp_2ej1d26.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmp_2ej1d26.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # const gchar *const *arg_arg_aay, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_boxed (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_aay", 1152s # (gchar *) "aay", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAay", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-aay", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_aay: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-aay", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_aay: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_aay: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_aay ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *const *arg_arg_aay, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAay", 1152s # g_variant_new ("(^aay)", 1152s # arg_arg_aay), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_aay: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # const gchar *const *arg_arg_aay, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAay", 1152s # g_variant_new ("(^aay)", 1152s # arg_arg_aay), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_aay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_aay ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmpf9st55vr/tmperw1utvy.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9st55vr/tmperw1utvy.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # GVariant *arg_arg_asv, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 3); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_variant (param_values + 2), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_asv", 1152s # (gchar *) "a{sv}", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAsv", 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-asv", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * @arg_arg_asv: Argument passed by remote caller. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-asv", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1152s # G_TYPE_BOOLEAN, 1152s # 2, 1152s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_asv: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_asv: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_asv ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant *arg_arg_asv, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAsv", 1152s # g_variant_new ("(@a{sv})", 1152s # arg_arg_asv), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @arg_arg_asv: Argument to pass with the method invocation. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant *arg_arg_asv, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAsv", 1152s # g_variant_new ("(@a{sv})", 1152s # arg_arg_asv), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "()"); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_asv: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_asv ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("()")); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1152s # tmpdir: /tmp/tmp45ao1kyj 1152s # codegen: /usr/bin/gdbus-codegen 1152s # /tmp/tmp45ao1kyj/tmpolu6vjuc.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpolu6vjuc.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_b", 1152s # (gchar *) "b", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodB", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-b", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-b", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_b, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_b: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_b ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodB", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_b_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_b_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gboolean *out_arg_b, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(b)", 1152s # out_arg_b); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_b_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_b_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gboolean *out_arg_b, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodB", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(b)", 1152s # out_arg_b); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_b: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_b: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_b ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # gboolean arg_b) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(b)", 1152s # arg_b)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpvcp2g6x6.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpvcp2g6x6.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_y", 1152s # (gchar *) "y", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodY", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-y", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-y", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_y, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_y: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_y ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodY", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_y_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_y_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guchar *out_arg_y, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(y)", 1152s # out_arg_y); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_y_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_y_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guchar *out_arg_y, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodY", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(y)", 1152s # out_arg_y); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_y: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_y: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_y ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # guchar arg_y) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(y)", 1152s # arg_y)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmppw12l6ix.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmppw12l6ix.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_n", 1152s # (gchar *) "n", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodN", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-n", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-n", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_n, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_n: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_n ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodN", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_n_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_n_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint16 *out_arg_n, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(n)", 1152s # out_arg_n); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_n_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_n_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint16 *out_arg_n, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodN", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(n)", 1152s # out_arg_n); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_n: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_n: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_n ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # gint16 arg_n) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(n)", 1152s # arg_n)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmp2rpps1pf.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmp2rpps1pf.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_q", 1152s # (gchar *) "q", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodQ", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-q", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-q", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_q, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_q: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_q ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodQ", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_q_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_q_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint16 *out_arg_q, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(q)", 1152s # out_arg_q); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_q_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_q_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint16 *out_arg_q, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodQ", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(q)", 1152s # out_arg_q); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_q: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_q: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_q ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # guint16 arg_q) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(q)", 1152s # arg_q)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpes_72fl_.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpes_72fl_.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_i", 1152s # (gchar *) "i", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodI", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-i", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-i", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_i, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_i: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_i ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodI", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_i_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_i_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint *out_arg_i, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(i)", 1152s # out_arg_i); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_i_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_i_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint *out_arg_i, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodI", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(i)", 1152s # out_arg_i); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_i: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_i: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_i ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # gint arg_i) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(i)", 1152s # arg_i)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpoflsvr58.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpoflsvr58.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_u", 1152s # (gchar *) "u", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodU", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-u", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-u", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_u, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_u: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_u ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodU", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_u_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_u_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint *out_arg_u, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(u)", 1152s # out_arg_u); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_u_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_u_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint *out_arg_u, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodU", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(u)", 1152s # out_arg_u); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_u: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_u: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_u ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # guint arg_u) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(u)", 1152s # arg_u)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpkbrvuqgf.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpkbrvuqgf.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_x", 1152s # (gchar *) "x", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodX", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-x", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-x", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_x, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_x: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_x ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodX", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_x_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_x_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint64 *out_arg_x, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(x)", 1152s # out_arg_x); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_x_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_x_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gint64 *out_arg_x, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodX", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(x)", 1152s # out_arg_x); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_x: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_x: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_x ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # gint64 arg_x) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(x)", 1152s # arg_x)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmp9urs_6m2.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmp9urs_6m2.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_t", 1152s # (gchar *) "t", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodT", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-t", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-t", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_t, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_t: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_t ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodT", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_t_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_t_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint64 *out_arg_t, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(t)", 1152s # out_arg_t); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_t_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_t_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # guint64 *out_arg_t, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodT", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(t)", 1152s # out_arg_t); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_t: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_t: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_t ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # guint64 arg_t) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(t)", 1152s # arg_t)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmp91brfqac.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmp91brfqac.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_d", 1152s # (gchar *) "d", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodD", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-d", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-d", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_d, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_d: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_d ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodD", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_d_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_d_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gdouble *out_arg_d, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(d)", 1152s # out_arg_d); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_d_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_d_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gdouble *out_arg_d, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodD", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(d)", 1152s # out_arg_d); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_d: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_d: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_d ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # gdouble arg_d) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(d)", 1152s # arg_d)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpw_0uef0r.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpw_0uef0r.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_s", 1152s # (gchar *) "s", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodS", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-s", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-s", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_s, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_s: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_s ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodS", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_s_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_s_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_s, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(s)", 1152s # out_arg_s); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_s_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_s_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_s, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodS", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(s)", 1152s # out_arg_s); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_s: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_s: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_s ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *arg_s) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(s)", 1152s # arg_s)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpb5484o9_.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpb5484o9_.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_o", 1152s # (gchar *) "o", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodO", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-o", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-o", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_o, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_o: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_o ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodO", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_o_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_o_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_o, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(o)", 1152s # out_arg_o); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_o_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_o_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_o, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodO", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(o)", 1152s # out_arg_o); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_o: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_o: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_o ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *arg_o) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(o)", 1152s # arg_o)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpoow_j67o.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpoow_j67o.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_g", 1152s # (gchar *) "g", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodG", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-g", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-g", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_g, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_g: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_g ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodG", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_g_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_g_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_g, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(g)", 1152s # out_arg_g); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_g_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_g_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_g, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodG", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(g)", 1152s # out_arg_g); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_g: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_g: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_g ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *arg_g) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(g)", 1152s # arg_g)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpwkip5acv.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpwkip5acv.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_h", 1152s # (gchar *) "h", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodH", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-h", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-h", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_h, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_h: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_h ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodH", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_h_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_h_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant **out_arg_h, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(@h)", 1152s # out_arg_h); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_h_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_h_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant **out_arg_h, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodH", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(@h)", 1152s # out_arg_h); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_h: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_h: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_h ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # GVariant *arg_h) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(@h)", 1152s # arg_h)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpl3cyo5tz.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpl3cyo5tz.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_ay", 1152s # (gchar *) "ay", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAy", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-ay", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-ay", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ay: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_ay ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAy", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_ay, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^ay)", 1152s # out_arg_ay); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar **out_arg_ay, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAy", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^ay)", 1152s # out_arg_ay); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_ay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_ay: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_ay ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *arg_ay) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(^ay)", 1152s # arg_ay)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpccjpdqb5.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpccjpdqb5.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_as", 1152s # (gchar *) "as", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAs", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-as", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-as", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_as, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_as: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_as ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAs", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_as_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_as_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar ***out_arg_as, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^as)", 1152s # out_arg_as); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_as_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_as_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar ***out_arg_as, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAs", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^as)", 1152s # out_arg_as); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_as: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_as: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_as ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *const *arg_as) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(^as)", 1152s # arg_as)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmpamq_diw2.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmpamq_diw2.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_ao", 1152s # (gchar *) "ao", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAo", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-ao", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-ao", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ao: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_ao ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAo", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar ***out_arg_ao, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^ao)", 1152s # out_arg_ao); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar ***out_arg_ao, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAo", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^ao)", 1152s # out_arg_ao); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_ao: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_ao: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_ao ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *const *arg_ao) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(^ao)", 1152s # arg_ao)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmp1si4tzzy.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmp1si4tzzy.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_aay", 1152s # (gchar *) "aay", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAay", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-aay", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-aay", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_aay: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_aay ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAay", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar ***out_arg_aay, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^aay)", 1152s # out_arg_aay); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # gchar ***out_arg_aay, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAay", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(^aay)", 1152s # out_arg_aay); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_aay: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_aay: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_aay ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # const gchar *const *arg_aay) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(^aay)", 1152s # arg_aay)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s # /tmp/tmp45ao1kyj/tmp9mlhhiys.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ao1kyj/tmp9mlhhiys.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 2); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.UsefulInterface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectUsefulInterface 1152s # * @title: OrgProjectUsefulInterface 1152s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "arg_asv", 1152s # (gchar *) "a{sv}", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "SingleArgMethodAsv", 1152s # NULL, 1152s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1152s # NULL 1152s # }, 1152s # "handle-single-arg-method-asv", 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1152s # { 1152s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "org.project.UsefulInterface", 1152s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1152s # NULL, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "org-project-useful-interface", 1152s # }; 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_interface_info: 1152s # * 1152s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1152s # * 1152s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1152s # */ 1152s # GDBusInterfaceInfo * 1152s # org_project_useful_interface_interface_info (void) 1152s # { 1152s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_override_properties: 1152s # * @klass: The class structure for a #GObject derived class. 1152s # * @property_id_begin: The property id to assign to the first overridden property. 1152s # * 1152s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1152s # * The properties are overridden in the order they are defined. 1152s # * 1152s # * Returns: The last property id. 1152s # */ 1152s # guint 1152s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1152s # { 1152s # return property_id_begin - 1; 1152s # } 1152s # 1152s # 1152s # inline static void 1152s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint, 1152s # void *marshal_data) 1152s # { 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1152s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1152s # } 1152s # 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterface: 1152s # * 1152s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceIface: 1152s # * @parent_iface: The parent interface. 1152s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1152s # * 1152s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1152s # */ 1152s # 1152s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1152s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1152s # 1152s # static void 1152s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1152s # { 1152s # /* GObject signals for incoming D-Bus method calls: */ 1152s # /** 1152s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: A #GDBusMethodInvocation. 1152s # * 1152s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1152s # * 1152s # * 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. 1152s # * 1152s # * 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. 1152s # */ 1152s # g_signal_new ("handle-single-arg-method-asv", 1152s # G_TYPE_FROM_INTERFACE (iface), 1152s # G_SIGNAL_RUN_LAST, 1152s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1152s # g_signal_accumulator_true_handled, 1152s # NULL, 1152s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1152s # G_TYPE_BOOLEAN, 1152s # 1, 1152s # G_TYPE_DBUS_METHOD_INVOCATION); 1152s # 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_asv: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1152s # */ 1152s # void 1152s # org_project_useful_interface_call_single_arg_method_asv ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAsv", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # callback, 1152s # user_data); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant **out_arg_asv, 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(@a{sv})", 1152s # out_arg_asv); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1152s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1152s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL. 1152s # * 1152s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1152s # * 1152s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1152s # */ 1152s # gboolean 1152s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1152s # OrgProjectUsefulInterface *proxy, 1152s # GVariant **out_arg_asv, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GVariant *_ret; 1152s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1152s # "SingleArgMethodAsv", 1152s # g_variant_new ("()"), 1152s # G_DBUS_CALL_FLAGS_NONE, 1152s # -1, 1152s # cancellable, 1152s # error); 1152s # if (_ret == NULL) 1152s # goto _out; 1152s # g_variant_get (_ret, 1152s # "(@a{sv})", 1152s # out_arg_asv); 1152s # g_variant_unref (_ret); 1152s # _out: 1152s # return _ret != NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_complete_single_arg_method_asv: 1152s # * @object: A #OrgProjectUsefulInterface. 1152s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1152s # * @arg_asv: Parameter to return. 1152s # * 1152s # * 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. 1152s # * 1152s # * This method will free @invocation, you cannot use it afterwards. 1152s # */ 1152s # void 1152s # org_project_useful_interface_complete_single_arg_method_asv ( 1152s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1152s # GDBusMethodInvocation *invocation, 1152s # GVariant *arg_asv) 1152s # { 1152s # g_dbus_method_invocation_return_value (invocation, 1152s # g_variant_new ("(@a{sv})", 1152s # arg_asv)); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxy: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceProxyClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceProxyPrivate 1152s # { 1152s # GData *qdata; 1152s # }; 1152s # 1152s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_proxy_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1152s # g_datalist_clear (&proxy->priv->qdata); 1152s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1152s # guint prop_id G_GNUC_UNUSED, 1152s # const GValue *value G_GNUC_UNUSED, 1152s # GParamSpec *pspec G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1152s # const gchar *sender_name G_GNUC_UNUSED, 1152s # const gchar *signal_name, 1152s # GVariant *parameters) 1152s # { 1152s # _ExtendedGDBusSignalInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # gsize n; 1152s # guint signal_id; 1152s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1152s # if (info == NULL) 1152s # return; 1152s # num_params = g_variant_n_children (parameters); 1152s # paramv = g_new0 (GValue, num_params + 1); 1152s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[0], proxy); 1152s # g_variant_iter_init (&iter, parameters); 1152s # n = 1; 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_signal_emitv (paramv, signal_id, 0, NULL); 1152s # for (n = 0; n < num_params + 1; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1152s # GVariant *changed_properties, 1152s # const gchar *const *invalidated_properties) 1152s # { 1152s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1152s # guint n; 1152s # const gchar *key; 1152s # GVariantIter *iter; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # g_variant_get (changed_properties, "a{sv}", &iter); 1152s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1152s # g_datalist_remove_data (&proxy->priv->qdata, key); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # g_variant_iter_free (iter); 1152s # for (n = 0; invalidated_properties[n] != NULL; n++) 1152s # { 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1152s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1152s # if (info != NULL) 1152s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1152s # } 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1152s # #else 1152s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1152s # #endif 1152s # 1152s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusProxyClass *proxy_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1152s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1152s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1152s # 1152s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1152s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1152s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_sync: 1152s # * @connection: A #GDBusConnection. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_sync ( 1152s # GDBusConnection *connection, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1152s # * @user_data: User data to pass to @callback. 1152s # * 1152s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1152s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1152s # */ 1152s # void 1152s # org_project_useful_interface_proxy_new_for_bus ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GAsyncReadyCallback callback, 1152s # gpointer user_data) 1152s # { 1152s # g_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); 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_finish: 1152s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_finish ( 1152s # GAsyncResult *res, 1152s # GError **error) 1152s # { 1152s # GObject *ret; 1152s # GObject *source_object; 1152s # source_object = g_async_result_get_source_object (res); 1152s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1152s # g_object_unref (source_object); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_proxy_new_for_bus_sync: 1152s # * @bus_type: A #GBusType. 1152s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1152s # * @name: A bus name (well-known or unique). 1152s # * @object_path: An object path. 1152s # * @cancellable: (nullable): A #GCancellable or %NULL. 1152s # * @error: Return location for error or %NULL 1152s # * 1152s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1152s # * 1152s # * The calling thread is blocked until a reply is received. 1152s # * 1152s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_proxy_new_for_bus_sync ( 1152s # GBusType bus_type, 1152s # GDBusProxyFlags flags, 1152s # const gchar *name, 1152s # const gchar *object_path, 1152s # GCancellable *cancellable, 1152s # GError **error) 1152s # { 1152s # GInitable *ret; 1152s # 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); 1152s # if (ret != NULL) 1152s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1152s # else 1152s # return NULL; 1152s # } 1152s # 1152s # 1152s # /* ------------------------------------------------------------------------ */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeleton: 1152s # * 1152s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1152s # */ 1152s # 1152s # /** 1152s # * OrgProjectUsefulInterfaceSkeletonClass: 1152s # * @parent_class: The parent class. 1152s # * 1152s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1152s # */ 1152s # 1152s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1152s # { 1152s # GValue *properties; 1152s # GList *changed_properties; 1152s # GSource *changed_properties_idle_source; 1152s # GMainContext *context; 1152s # GMutex lock; 1152s # }; 1152s # 1152s # static void 1152s # _org_project_useful_interface_skeleton_handle_method_call ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name, 1152s # const gchar *method_name, 1152s # GVariant *parameters, 1152s # GDBusMethodInvocation *invocation, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # _ExtendedGDBusMethodInfo *info; 1152s # GVariantIter iter; 1152s # GVariant *child; 1152s # GValue *paramv; 1152s # gsize num_params; 1152s # guint num_extra; 1152s # gsize n; 1152s # guint signal_id; 1152s # GValue return_value = G_VALUE_INIT; 1152s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1152s # g_assert (info != NULL); 1152s # num_params = g_variant_n_children (parameters); 1152s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1152s # n = 0; 1152s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_set_object (¶mv[n++], skeleton); 1152s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1152s # g_value_set_object (¶mv[n++], invocation); 1152s # if (info->pass_fdlist) 1152s # { 1152s # #ifdef G_OS_UNIX 1152s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1152s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1152s # #else 1152s # g_assert_not_reached (); 1152s # #endif 1152s # } 1152s # g_variant_iter_init (&iter, parameters); 1152s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1152s # { 1152s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1152s # if (arg_info->use_gvariant) 1152s # { 1152s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1152s # g_value_set_variant (¶mv[n], child); 1152s # n++; 1152s # } 1152s # else 1152s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1152s # g_variant_unref (child); 1152s # } 1152s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1152s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1152s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1152s # if (!g_value_get_boolean (&return_value)) 1152s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1152s # g_value_unset (&return_value); 1152s # for (n = 0; n < num_params + num_extra; n++) 1152s # g_value_unset (¶mv[n]); 1152s # g_free (paramv); 1152s # } 1152s # 1152s # static GVariant * 1152s # _org_project_useful_interface_skeleton_handle_get_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # GVariant *ret; 1152s # ret = NULL; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # g_value_init (&value, pspec->value_type); 1152s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1152s # g_value_unset (&value); 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _org_project_useful_interface_skeleton_handle_set_property ( 1152s # GDBusConnection *connection G_GNUC_UNUSED, 1152s # const gchar *sender G_GNUC_UNUSED, 1152s # const gchar *object_path G_GNUC_UNUSED, 1152s # const gchar *interface_name G_GNUC_UNUSED, 1152s # const gchar *property_name, 1152s # GVariant *variant, 1152s # GError **error, 1152s # gpointer user_data) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1152s # GValue value = G_VALUE_INIT; 1152s # GParamSpec *pspec; 1152s # _ExtendedGDBusPropertyInfo *info; 1152s # gboolean ret; 1152s # ret = FALSE; 1152s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1152s # g_assert (info != NULL); 1152s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1152s # if (pspec == NULL) 1152s # { 1152s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1152s # } 1152s # else 1152s # { 1152s # if (info->use_gvariant) 1152s # g_value_set_variant (&value, variant); 1152s # else 1152s # g_dbus_gvariant_to_gvalue (variant, &value); 1152s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1152s # g_value_unset (&value); 1152s # ret = TRUE; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1152s # { 1152s # _org_project_useful_interface_skeleton_handle_method_call, 1152s # _org_project_useful_interface_skeleton_handle_get_property, 1152s # _org_project_useful_interface_skeleton_handle_set_property, 1152s # {NULL} 1152s # }; 1152s # 1152s # static GDBusInterfaceInfo * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return org_project_useful_interface_interface_info (); 1152s # } 1152s # 1152s # static GDBusInterfaceVTable * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1152s # { 1152s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1152s # } 1152s # 1152s # static GVariant * 1152s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1152s # 1152s # GVariantBuilder builder; 1152s # guint n; 1152s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1152s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1152s # goto out; 1152s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1152s # { 1152s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1152s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1152s # { 1152s # GVariant *value; 1152s # 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); 1152s # if (value != NULL) 1152s # { 1152s # g_variant_take_ref (value); 1152s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1152s # g_variant_unref (value); 1152s # } 1152s # } 1152s # } 1152s # out: 1152s # return g_variant_builder_end (&builder); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #else 1152s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1152s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1152s # 1152s # #endif 1152s # static void 1152s # org_project_useful_interface_skeleton_finalize (GObject *object) 1152s # { 1152s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1152s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1152s # if (skeleton->priv->changed_properties_idle_source != NULL) 1152s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1152s # g_main_context_unref (skeleton->priv->context); 1152s # g_mutex_clear (&skeleton->priv->lock); 1152s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1152s # { 1152s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1152s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1152s # #else 1152s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1152s # #endif 1152s # 1152s # g_mutex_init (&skeleton->priv->lock); 1152s # skeleton->priv->context = g_main_context_ref_thread_default (); 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1152s # { 1152s # GObjectClass *gobject_class; 1152s # GDBusInterfaceSkeletonClass *skeleton_class; 1152s # 1152s # gobject_class = G_OBJECT_CLASS (klass); 1152s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1152s # 1152s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1152s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1152s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1152s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1152s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1152s # 1152s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1152s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1152s # #endif 1152s # } 1152s # 1152s # static void 1152s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1152s # { 1152s # } 1152s # 1152s # /** 1152s # * org_project_useful_interface_skeleton_new: 1152s # * 1152s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1152s # * 1152s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1152s # */ 1152s # OrgProjectUsefulInterface * 1152s # org_project_useful_interface_skeleton_new (void) 1152s # { 1152s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1152s # } 1152s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1152s # tmpdir: /tmp/tmpj42cyd81 1152s # codegen: /usr/bin/gdbus-codegen 1152s # /tmp/tmpj42cyd81/tmpsfl2u8wz.xml: 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # 1152s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj42cyd81/tmpsfl2u8wz.xml', '--output', '-', '--body'] 1152s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: /* 1152s # * This file is generated by gdbus-codegen, do not modify it. 1152s # * 1152s # * The license of this code is the same as for the D-Bus interface description 1152s # * it was derived from. Note that it links to GLib, so must comply with the 1152s # * LGPL linking clauses. 1152s # */ 1152s # 1152s # #ifdef HAVE_CONFIG_H 1152s # # include "config.h" 1152s # #endif 1152s # 1152s # #include 1152s # #ifdef G_OS_UNIX 1152s # # include 1152s # #endif 1152s # 1152s # #ifdef G_ENABLE_DEBUG 1152s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1152s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1152s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1152s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1152s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1152s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1152s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1152s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1152s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1152s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1152s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1152s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1152s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1152s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1152s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1152s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1152s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1152s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1152s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1152s # #else /* !G_ENABLE_DEBUG */ 1152s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1152s # * Do not access GValues directly in your code. Instead, use the 1152s # * g_value_get_*() functions 1152s # */ 1152s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1152s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1152s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1152s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1152s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1152s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1152s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1152s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1152s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1152s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1152s # #endif /* !G_ENABLE_DEBUG */ 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusArgInfo parent_struct; 1152s # gboolean use_gvariant; 1152s # } _ExtendedGDBusArgInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusMethodInfo parent_struct; 1152s # const gchar *signal_name; 1152s # gboolean pass_fdlist; 1152s # } _ExtendedGDBusMethodInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusSignalInfo parent_struct; 1152s # const gchar *signal_name; 1152s # } _ExtendedGDBusSignalInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusPropertyInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # guint use_gvariant : 1; 1152s # guint emits_changed_signal : 1; 1152s # } _ExtendedGDBusPropertyInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # GDBusInterfaceInfo parent_struct; 1152s # const gchar *hyphen_name; 1152s # } _ExtendedGDBusInterfaceInfo; 1152s # 1152s # typedef struct 1152s # { 1152s # const _ExtendedGDBusPropertyInfo *info; 1152s # guint prop_id; 1152s # GValue orig_value; /* the value before the change */ 1152s # } ChangedProperty; 1152s # 1152s # static void 1152s # _changed_property_free (ChangedProperty *data) 1152s # { 1152s # g_value_unset (&data->orig_value); 1152s # g_free (data); 1152s # } 1152s # 1152s # static gboolean 1152s # _g_strv_equal0 (gchar **a, gchar **b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # guint n; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # if (g_strv_length (a) != g_strv_length (b)) 1152s # goto out; 1152s # for (n = 0; a[n] != NULL; n++) 1152s # if (g_strcmp0 (a[n], b[n]) != 0) 1152s # goto out; 1152s # ret = TRUE; 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # static gboolean 1152s # _g_variant_equal0 (GVariant *a, GVariant *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # if (a == NULL && b == NULL) 1152s # { 1152s # ret = TRUE; 1152s # goto out; 1152s # } 1152s # if (a == NULL || b == NULL) 1152s # goto out; 1152s # ret = g_variant_equal (a, b); 1152s # out: 1152s # return ret; 1152s # } 1152s # 1152s # G_GNUC_UNUSED static gboolean 1152s # _g_value_equal (const GValue *a, const GValue *b) 1152s # { 1152s # gboolean ret = FALSE; 1152s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1152s # switch (G_VALUE_TYPE (a)) 1152s # { 1152s # case G_TYPE_BOOLEAN: 1152s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1152s # break; 1152s # case G_TYPE_UCHAR: 1152s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1152s # break; 1152s # case G_TYPE_INT: 1152s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1152s # break; 1152s # case G_TYPE_UINT: 1152s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1152s # break; 1152s # case G_TYPE_INT64: 1152s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1152s # break; 1152s # case G_TYPE_UINT64: 1152s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1152s # break; 1152s # case G_TYPE_DOUBLE: 1152s # { 1152s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1152s # gdouble da = g_value_get_double (a); 1152s # gdouble db = g_value_get_double (b); 1152s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1152s # } 1152s # break; 1152s # case G_TYPE_STRING: 1152s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1152s # break; 1152s # case G_TYPE_VARIANT: 1152s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1152s # break; 1152s # default: 1152s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1152s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1152s # else 1152s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1152s # break; 1152s # } 1152s # return ret; 1152s # } 1152s # 1152s # static void 1152s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1152s # GClosure *closure, 1152s # GValue *return_value, 1152s # unsigned int n_param_values, 1152s # const GValue *param_values, 1152s # void *invocation_hint G_GNUC_UNUSED, 1152s # void *marshal_data) 1152s # { 1152s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1152s # (void *data1, 1152s # GDBusMethodInvocation *arg_method_invocation, 1152s # gboolean arg_an_b, 1152s # guchar arg_an_y, 1152s # gint16 arg_an_n, 1152s # guint16 arg_an_q, 1152s # gint arg_an_i, 1152s # guint arg_an_u, 1152s # gint64 arg_an_x, 1152s # guint64 arg_an_t, 1152s # gdouble arg_an_d, 1152s # const gchar *arg_an_s, 1152s # const gchar *arg_an_o, 1152s # const gchar *arg_an_g, 1152s # GVariant *arg_an_h, 1152s # const gchar *arg_an_ay, 1152s # const gchar *const *arg_an_as, 1152s # const gchar *const *arg_an_ao, 1152s # const gchar *const *arg_an_aay, 1152s # GVariant *arg_an_asv, 1152s # void *data2); 1152s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1152s # GCClosure *cc = (GCClosure*) closure; 1152s # void *data1, *data2; 1152s # gboolean v_return; 1152s # 1152s # g_return_if_fail (return_value != NULL); 1152s # g_return_if_fail (n_param_values == 20); 1152s # 1152s # if (G_CCLOSURE_SWAP_DATA (closure)) 1152s # { 1152s # data1 = closure->data; 1152s # data2 = g_value_peek_pointer (param_values + 0); 1152s # } 1152s # else 1152s # { 1152s # data1 = g_value_peek_pointer (param_values + 0); 1152s # data2 = closure->data; 1152s # } 1152s # 1152s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1152s # (marshal_data ? marshal_data : cc->callback); 1152s # 1152s # v_return = 1152s # callback (data1, 1152s # g_marshal_value_peek_object (param_values + 1), 1152s # g_marshal_value_peek_boolean (param_values + 2), 1152s # g_marshal_value_peek_uchar (param_values + 3), 1152s # g_marshal_value_peek_int (param_values + 4), 1152s # g_marshal_value_peek_uint (param_values + 5), 1152s # g_marshal_value_peek_int (param_values + 6), 1152s # g_marshal_value_peek_uint (param_values + 7), 1152s # g_marshal_value_peek_int64 (param_values + 8), 1152s # g_marshal_value_peek_uint64 (param_values + 9), 1152s # g_marshal_value_peek_double (param_values + 10), 1152s # g_marshal_value_peek_string (param_values + 11), 1152s # g_marshal_value_peek_string (param_values + 12), 1152s # g_marshal_value_peek_string (param_values + 13), 1152s # g_marshal_value_peek_variant (param_values + 14), 1152s # g_marshal_value_peek_string (param_values + 15), 1152s # g_marshal_value_peek_boxed (param_values + 16), 1152s # g_marshal_value_peek_boxed (param_values + 17), 1152s # g_marshal_value_peek_boxed (param_values + 18), 1152s # g_marshal_value_peek_variant (param_values + 19), 1152s # data2); 1152s # 1152s # g_value_set_boolean (return_value, v_return); 1152s # } 1152s # 1152s # /* ------------------------------------------------------------------------ 1152s # * Code for interface org.project.CallableIface 1152s # * ------------------------------------------------------------------------ 1152s # */ 1152s # 1152s # /** 1152s # * SECTION:OrgProjectCallableIface 1152s # * @title: OrgProjectCallableIface 1152s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1152s # * 1152s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1152s # */ 1152s # 1152s # /* ---- Introspection data for org.project.CallableIface ---- */ 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_b", 1152s # (gchar *) "b", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_y", 1152s # (gchar *) "y", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_n", 1152s # (gchar *) "n", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_q", 1152s # (gchar *) "q", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_i", 1152s # (gchar *) "i", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_u", 1152s # (gchar *) "u", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_x", 1152s # (gchar *) "x", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_t", 1152s # (gchar *) "t", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_d", 1152s # (gchar *) "d", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_s", 1152s # (gchar *) "s", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_o", 1152s # (gchar *) "o", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_g", 1152s # (gchar *) "g", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_h", 1152s # (gchar *) "h", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_ay", 1152s # (gchar *) "ay", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_as", 1152s # (gchar *) "as", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_ao", 1152s # (gchar *) "ao", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_aay", 1152s # (gchar *) "aay", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_asv", 1152s # (gchar *) "a{sv}", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1152s # { 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1152s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1152s # NULL 1152s # }; 1152s # 1152s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "MethodWithManyArgs", 1152s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1152s # NULL, 1152s # NULL 1152s # }, 1152s # "handle-method-with-many-args", 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_b", 1152s # (gchar *) "b", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_y", 1152s # (gchar *) "y", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_n", 1152s # (gchar *) "n", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_q", 1152s # (gchar *) "q", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_i", 1152s # (gchar *) "i", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_u", 1152s # (gchar *) "u", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_x", 1152s # (gchar *) "x", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_t", 1152s # (gchar *) "t", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_d", 1152s # (gchar *) "d", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_s", 1152s # (gchar *) "s", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_o", 1152s # (gchar *) "o", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_g", 1152s # (gchar *) "g", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1152s # { 1152s # { 1152s # -1, 1152s # (gchar *) "an_h", 1152s # (gchar *) "h", 1152s # NULL 1152s # }, 1152s # FALSE 1152s # }; 1152s # 1152s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1152s # { 1152s # { 1153s # -1, 1153s # (gchar *) "an_ay", 1153s # (gchar *) "ay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_as", 1153s # (gchar *) "as", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ao", 1153s # (gchar *) "ao", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_aay", 1153s # (gchar *) "aay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_asv", 1153s # (gchar *) "a{sv}", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1153s # { 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SameMethodWithManyArgs", 1153s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "handle-same-method-with-many-args", 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1153s # { 1153s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1153s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.CallableIface", 1153s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1153s # NULL, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-callable-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_callable_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_callable_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_callable_iface_method_marshal_method_with_many_args ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _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, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _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, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectCallableIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1153s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.CallableIface. 1153s # */ 1153s # 1153s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1153s # { 1153s # /* GObject signals for incoming D-Bus method calls: */ 1153s # /** 1153s # * OrgProjectCallableIface::handle-method-with-many-args: 1153s # * @object: A #OrgProjectCallableIface. 1153s # * @invocation: A #GDBusMethodInvocation. 1153s # * @arg_an_b: Argument passed by remote caller. 1153s # * @arg_an_y: Argument passed by remote caller. 1153s # * @arg_an_n: Argument passed by remote caller. 1153s # * @arg_an_q: Argument passed by remote caller. 1153s # * @arg_an_i: Argument passed by remote caller. 1153s # * @arg_an_u: Argument passed by remote caller. 1153s # * @arg_an_x: Argument passed by remote caller. 1153s # * @arg_an_t: Argument passed by remote caller. 1153s # * @arg_an_d: Argument passed by remote caller. 1153s # * @arg_an_s: Argument passed by remote caller. 1153s # * @arg_an_o: Argument passed by remote caller. 1153s # * @arg_an_g: Argument passed by remote caller. 1153s # * @arg_an_h: Argument passed by remote caller. 1153s # * @arg_an_ay: Argument passed by remote caller. 1153s # * @arg_an_as: Argument passed by remote caller. 1153s # * @arg_an_ao: Argument passed by remote caller. 1153s # * @arg_an_aay: Argument passed by remote caller. 1153s # * @arg_an_asv: Argument passed by remote caller. 1153s # * 1153s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1153s # * 1153s # * 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. 1153s # * 1153s # * 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. 1153s # */ 1153s # g_signal_new ("handle-method-with-many-args", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1153s # g_signal_accumulator_true_handled, 1153s # NULL, 1153s # org_project_callable_iface_method_marshal_method_with_many_args, 1153s # G_TYPE_BOOLEAN, 1153s # 19, 1153s # 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); 1153s # 1153s # /** 1153s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1153s # * @object: A #OrgProjectCallableIface. 1153s # * @invocation: A #GDBusMethodInvocation. 1153s # * @arg_an_b: Argument passed by remote caller. 1153s # * @arg_an_y: Argument passed by remote caller. 1153s # * @arg_an_n: Argument passed by remote caller. 1153s # * @arg_an_q: Argument passed by remote caller. 1153s # * @arg_an_i: Argument passed by remote caller. 1153s # * @arg_an_u: Argument passed by remote caller. 1153s # * @arg_an_x: Argument passed by remote caller. 1153s # * @arg_an_t: Argument passed by remote caller. 1153s # * @arg_an_d: Argument passed by remote caller. 1153s # * @arg_an_s: Argument passed by remote caller. 1153s # * @arg_an_o: Argument passed by remote caller. 1153s # * @arg_an_g: Argument passed by remote caller. 1153s # * @arg_an_h: Argument passed by remote caller. 1153s # * @arg_an_ay: Argument passed by remote caller. 1153s # * @arg_an_as: Argument passed by remote caller. 1153s # * @arg_an_ao: Argument passed by remote caller. 1153s # * @arg_an_aay: Argument passed by remote caller. 1153s # * @arg_an_asv: Argument passed by remote caller. 1153s # * 1153s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1153s # * 1153s # * 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. 1153s # * 1153s # * 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. 1153s # */ 1153s # g_signal_new ("handle-same-method-with-many-args", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1153s # g_signal_accumulator_true_handled, 1153s # NULL, 1153s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1153s # G_TYPE_BOOLEAN, 1153s # 19, 1153s # 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); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_method_with_many_args: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @arg_an_b: Argument to pass with the method invocation. 1153s # * @arg_an_y: Argument to pass with the method invocation. 1153s # * @arg_an_n: Argument to pass with the method invocation. 1153s # * @arg_an_q: Argument to pass with the method invocation. 1153s # * @arg_an_i: Argument to pass with the method invocation. 1153s # * @arg_an_u: Argument to pass with the method invocation. 1153s # * @arg_an_x: Argument to pass with the method invocation. 1153s # * @arg_an_t: Argument to pass with the method invocation. 1153s # * @arg_an_d: Argument to pass with the method invocation. 1153s # * @arg_an_s: Argument to pass with the method invocation. 1153s # * @arg_an_o: Argument to pass with the method invocation. 1153s # * @arg_an_g: Argument to pass with the method invocation. 1153s # * @arg_an_h: Argument to pass with the method invocation. 1153s # * @arg_an_ay: Argument to pass with the method invocation. 1153s # * @arg_an_as: Argument to pass with the method invocation. 1153s # * @arg_an_ao: Argument to pass with the method invocation. 1153s # * @arg_an_aay: Argument to pass with the method invocation. 1153s # * @arg_an_asv: Argument to pass with the method invocation. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1153s # */ 1153s # void 1153s # org_project_callable_iface_call_method_with_many_args ( 1153s # OrgProjectCallableIface *proxy, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1153s # "MethodWithManyArgs", 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # callback, 1153s # user_data); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_method_with_many_args_finish: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_callable_iface_call_method_with_many_args_finish ( 1153s # OrgProjectCallableIface *proxy, 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "()"); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_method_with_many_args_sync: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @arg_an_b: Argument to pass with the method invocation. 1153s # * @arg_an_y: Argument to pass with the method invocation. 1153s # * @arg_an_n: Argument to pass with the method invocation. 1153s # * @arg_an_q: Argument to pass with the method invocation. 1153s # * @arg_an_i: Argument to pass with the method invocation. 1153s # * @arg_an_u: Argument to pass with the method invocation. 1153s # * @arg_an_x: Argument to pass with the method invocation. 1153s # * @arg_an_t: Argument to pass with the method invocation. 1153s # * @arg_an_d: Argument to pass with the method invocation. 1153s # * @arg_an_s: Argument to pass with the method invocation. 1153s # * @arg_an_o: Argument to pass with the method invocation. 1153s # * @arg_an_g: Argument to pass with the method invocation. 1153s # * @arg_an_h: Argument to pass with the method invocation. 1153s # * @arg_an_ay: Argument to pass with the method invocation. 1153s # * @arg_an_as: Argument to pass with the method invocation. 1153s # * @arg_an_ao: Argument to pass with the method invocation. 1153s # * @arg_an_aay: Argument to pass with the method invocation. 1153s # * @arg_an_asv: Argument to pass with the method invocation. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_callable_iface_call_method_with_many_args_sync ( 1153s # OrgProjectCallableIface *proxy, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1153s # "MethodWithManyArgs", 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "()"); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_same_method_with_many_args: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @arg_an_b: Argument to pass with the method invocation. 1153s # * @arg_an_y: Argument to pass with the method invocation. 1153s # * @arg_an_n: Argument to pass with the method invocation. 1153s # * @arg_an_q: Argument to pass with the method invocation. 1153s # * @arg_an_i: Argument to pass with the method invocation. 1153s # * @arg_an_u: Argument to pass with the method invocation. 1153s # * @arg_an_x: Argument to pass with the method invocation. 1153s # * @arg_an_t: Argument to pass with the method invocation. 1153s # * @arg_an_d: Argument to pass with the method invocation. 1153s # * @arg_an_s: Argument to pass with the method invocation. 1153s # * @arg_an_o: Argument to pass with the method invocation. 1153s # * @arg_an_g: Argument to pass with the method invocation. 1153s # * @arg_an_h: Argument to pass with the method invocation. 1153s # * @arg_an_ay: Argument to pass with the method invocation. 1153s # * @arg_an_as: Argument to pass with the method invocation. 1153s # * @arg_an_ao: Argument to pass with the method invocation. 1153s # * @arg_an_aay: Argument to pass with the method invocation. 1153s # * @arg_an_asv: Argument to pass with the method invocation. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1153s # */ 1153s # void 1153s # org_project_callable_iface_call_same_method_with_many_args ( 1153s # OrgProjectCallableIface *proxy, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1153s # "SameMethodWithManyArgs", 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # callback, 1153s # user_data); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1153s # OrgProjectCallableIface *proxy, 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "()"); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @arg_an_b: Argument to pass with the method invocation. 1153s # * @arg_an_y: Argument to pass with the method invocation. 1153s # * @arg_an_n: Argument to pass with the method invocation. 1153s # * @arg_an_q: Argument to pass with the method invocation. 1153s # * @arg_an_i: Argument to pass with the method invocation. 1153s # * @arg_an_u: Argument to pass with the method invocation. 1153s # * @arg_an_x: Argument to pass with the method invocation. 1153s # * @arg_an_t: Argument to pass with the method invocation. 1153s # * @arg_an_d: Argument to pass with the method invocation. 1153s # * @arg_an_s: Argument to pass with the method invocation. 1153s # * @arg_an_o: Argument to pass with the method invocation. 1153s # * @arg_an_g: Argument to pass with the method invocation. 1153s # * @arg_an_h: Argument to pass with the method invocation. 1153s # * @arg_an_ay: Argument to pass with the method invocation. 1153s # * @arg_an_as: Argument to pass with the method invocation. 1153s # * @arg_an_ao: Argument to pass with the method invocation. 1153s # * @arg_an_aay: Argument to pass with the method invocation. 1153s # * @arg_an_asv: Argument to pass with the method invocation. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1153s # OrgProjectCallableIface *proxy, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1153s # "SameMethodWithManyArgs", 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "()"); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_complete_method_with_many_args: 1153s # * @object: A #OrgProjectCallableIface. 1153s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1153s # * 1153s # * 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. 1153s # * 1153s # * This method will free @invocation, you cannot use it afterwards. 1153s # */ 1153s # void 1153s # org_project_callable_iface_complete_method_with_many_args ( 1153s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1153s # GDBusMethodInvocation *invocation) 1153s # { 1153s # g_dbus_method_invocation_return_value (invocation, 1153s # g_variant_new ("()")); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_complete_same_method_with_many_args: 1153s # * @object: A #OrgProjectCallableIface. 1153s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1153s # * 1153s # * 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. 1153s # * 1153s # * This method will free @invocation, you cannot use it afterwards. 1153s # */ 1153s # void 1153s # org_project_callable_iface_complete_same_method_with_many_args ( 1153s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1153s # GDBusMethodInvocation *invocation) 1153s # { 1153s # g_dbus_method_invocation_return_value (invocation, 1153s # g_variant_new ("()")); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceProxy: 1153s # * 1153s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectCallableIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectCallableIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_callable_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_callable_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_callable_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectCallableIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_callable_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_callable_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_callable_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1153s # { 1153s # _org_project_callable_iface_skeleton_handle_method_call, 1153s # _org_project_callable_iface_skeleton_handle_get_property, 1153s # _org_project_callable_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_callable_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_callable_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.OtherCallableIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectOtherCallableIface 1153s # * @title: OrgProjectOtherCallableIface 1153s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1153s # */ 1153s # 1153s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_b", 1153s # (gchar *) "b", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_y", 1153s # (gchar *) "y", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_n", 1153s # (gchar *) "n", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_q", 1153s # (gchar *) "q", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_i", 1153s # (gchar *) "i", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_u", 1153s # (gchar *) "u", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_x", 1153s # (gchar *) "x", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_t", 1153s # (gchar *) "t", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_d", 1153s # (gchar *) "d", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_s", 1153s # (gchar *) "s", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_o", 1153s # (gchar *) "o", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_g", 1153s # (gchar *) "g", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_h", 1153s # (gchar *) "h", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ay", 1153s # (gchar *) "ay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_as", 1153s # (gchar *) "as", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ao", 1153s # (gchar *) "ao", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_aay", 1153s # (gchar *) "aay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_asv", 1153s # (gchar *) "a{sv}", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1153s # { 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "MethodWithManyArgs", 1153s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "handle-method-with-many-args", 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1153s # { 1153s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.OtherCallableIface", 1153s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1153s # NULL, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-other-callable-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_other_callable_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _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, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectOtherCallableIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherCallableIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1153s # */ 1153s # 1153s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1153s # { 1153s # /* GObject signals for incoming D-Bus method calls: */ 1153s # /** 1153s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1153s # * @object: A #OrgProjectOtherCallableIface. 1153s # * @invocation: A #GDBusMethodInvocation. 1153s # * @arg_an_b: Argument passed by remote caller. 1153s # * @arg_an_y: Argument passed by remote caller. 1153s # * @arg_an_n: Argument passed by remote caller. 1153s # * @arg_an_q: Argument passed by remote caller. 1153s # * @arg_an_i: Argument passed by remote caller. 1153s # * @arg_an_u: Argument passed by remote caller. 1153s # * @arg_an_x: Argument passed by remote caller. 1153s # * @arg_an_t: Argument passed by remote caller. 1153s # * @arg_an_d: Argument passed by remote caller. 1153s # * @arg_an_s: Argument passed by remote caller. 1153s # * @arg_an_o: Argument passed by remote caller. 1153s # * @arg_an_g: Argument passed by remote caller. 1153s # * @arg_an_h: Argument passed by remote caller. 1153s # * @arg_an_ay: Argument passed by remote caller. 1153s # * @arg_an_as: Argument passed by remote caller. 1153s # * @arg_an_ao: Argument passed by remote caller. 1153s # * @arg_an_aay: Argument passed by remote caller. 1153s # * @arg_an_asv: Argument passed by remote caller. 1153s # * 1153s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1153s # * 1153s # * 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. 1153s # * 1153s # * 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. 1153s # */ 1153s # g_signal_new ("handle-method-with-many-args", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1153s # g_signal_accumulator_true_handled, 1153s # NULL, 1153s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1153s # G_TYPE_BOOLEAN, 1153s # 19, 1153s # 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); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_call_method_with_many_args: 1153s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1153s # * @arg_an_b: Argument to pass with the method invocation. 1153s # * @arg_an_y: Argument to pass with the method invocation. 1153s # * @arg_an_n: Argument to pass with the method invocation. 1153s # * @arg_an_q: Argument to pass with the method invocation. 1153s # * @arg_an_i: Argument to pass with the method invocation. 1153s # * @arg_an_u: Argument to pass with the method invocation. 1153s # * @arg_an_x: Argument to pass with the method invocation. 1153s # * @arg_an_t: Argument to pass with the method invocation. 1153s # * @arg_an_d: Argument to pass with the method invocation. 1153s # * @arg_an_s: Argument to pass with the method invocation. 1153s # * @arg_an_o: Argument to pass with the method invocation. 1153s # * @arg_an_g: Argument to pass with the method invocation. 1153s # * @arg_an_h: Argument to pass with the method invocation. 1153s # * @arg_an_ay: Argument to pass with the method invocation. 1153s # * @arg_an_as: Argument to pass with the method invocation. 1153s # * @arg_an_ao: Argument to pass with the method invocation. 1153s # * @arg_an_aay: Argument to pass with the method invocation. 1153s # * @arg_an_asv: Argument to pass with the method invocation. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1153s # */ 1153s # void 1153s # org_project_other_callable_iface_call_method_with_many_args ( 1153s # OrgProjectOtherCallableIface *proxy, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1153s # "MethodWithManyArgs", 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # callback, 1153s # user_data); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1153s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1153s # OrgProjectOtherCallableIface *proxy, 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "()"); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1153s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1153s # * @arg_an_b: Argument to pass with the method invocation. 1153s # * @arg_an_y: Argument to pass with the method invocation. 1153s # * @arg_an_n: Argument to pass with the method invocation. 1153s # * @arg_an_q: Argument to pass with the method invocation. 1153s # * @arg_an_i: Argument to pass with the method invocation. 1153s # * @arg_an_u: Argument to pass with the method invocation. 1153s # * @arg_an_x: Argument to pass with the method invocation. 1153s # * @arg_an_t: Argument to pass with the method invocation. 1153s # * @arg_an_d: Argument to pass with the method invocation. 1153s # * @arg_an_s: Argument to pass with the method invocation. 1153s # * @arg_an_o: Argument to pass with the method invocation. 1153s # * @arg_an_g: Argument to pass with the method invocation. 1153s # * @arg_an_h: Argument to pass with the method invocation. 1153s # * @arg_an_ay: Argument to pass with the method invocation. 1153s # * @arg_an_as: Argument to pass with the method invocation. 1153s # * @arg_an_ao: Argument to pass with the method invocation. 1153s # * @arg_an_aay: Argument to pass with the method invocation. 1153s # * @arg_an_asv: Argument to pass with the method invocation. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1153s # OrgProjectOtherCallableIface *proxy, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1153s # "MethodWithManyArgs", 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "()"); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_complete_method_with_many_args: 1153s # * @object: A #OrgProjectOtherCallableIface. 1153s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1153s # * 1153s # * 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. 1153s # * 1153s # * This method will free @invocation, you cannot use it afterwards. 1153s # */ 1153s # void 1153s # org_project_other_callable_iface_complete_method_with_many_args ( 1153s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1153s # GDBusMethodInvocation *invocation) 1153s # { 1153s # g_dbus_method_invocation_return_value (invocation, 1153s # g_variant_new ("()")); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectOtherCallableIfaceProxy: 1153s # * 1153s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherCallableIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_other_callable_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherCallableIface * 1153s # org_project_other_callable_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherCallableIface * 1153s # org_project_other_callable_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_other_callable_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherCallableIface * 1153s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherCallableIface * 1153s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectOtherCallableIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherCallableIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1153s # { 1153s # _org_project_other_callable_iface_skeleton_handle_method_call, 1153s # _org_project_other_callable_iface_skeleton_handle_get_property, 1153s # _org_project_other_callable_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_other_callable_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_callable_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectOtherCallableIface * 1153s # org_project_other_callable_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1153s # } 1153s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1153s # tmpdir: /tmp/tmpv51lnl2w 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmpv51lnl2w/tmpoqi8fp0e.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv51lnl2w/tmpoqi8fp0e.xml', '--output', '-', '--body'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: /* 1153s # * This file is generated by gdbus-codegen, do not modify it. 1153s # * 1153s # * The license of this code is the same as for the D-Bus interface description 1153s # * it was derived from. Note that it links to GLib, so must comply with the 1153s # * LGPL linking clauses. 1153s # */ 1153s # 1153s # #ifdef HAVE_CONFIG_H 1153s # # include "config.h" 1153s # #endif 1153s # 1153s # #include 1153s # #ifdef G_OS_UNIX 1153s # # include 1153s # #endif 1153s # 1153s # #ifdef G_ENABLE_DEBUG 1153s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1153s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1153s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1153s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1153s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1153s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1153s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1153s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1153s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1153s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1153s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1153s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1153s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1153s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1153s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1153s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1153s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1153s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1153s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1153s # #else /* !G_ENABLE_DEBUG */ 1153s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1153s # * Do not access GValues directly in your code. Instead, use the 1153s # * g_value_get_*() functions 1153s # */ 1153s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1153s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1153s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1153s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1153s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1153s # #endif /* !G_ENABLE_DEBUG */ 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusArgInfo parent_struct; 1153s # gboolean use_gvariant; 1153s # } _ExtendedGDBusArgInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusMethodInfo parent_struct; 1153s # const gchar *signal_name; 1153s # gboolean pass_fdlist; 1153s # } _ExtendedGDBusMethodInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusSignalInfo parent_struct; 1153s # const gchar *signal_name; 1153s # } _ExtendedGDBusSignalInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusPropertyInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # guint use_gvariant : 1; 1153s # guint emits_changed_signal : 1; 1153s # } _ExtendedGDBusPropertyInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusInterfaceInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # } _ExtendedGDBusInterfaceInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # const _ExtendedGDBusPropertyInfo *info; 1153s # guint prop_id; 1153s # GValue orig_value; /* the value before the change */ 1153s # } ChangedProperty; 1153s # 1153s # static void 1153s # _changed_property_free (ChangedProperty *data) 1153s # { 1153s # g_value_unset (&data->orig_value); 1153s # g_free (data); 1153s # } 1153s # 1153s # static gboolean 1153s # _g_strv_equal0 (gchar **a, gchar **b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # guint n; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # if (g_strv_length (a) != g_strv_length (b)) 1153s # goto out; 1153s # for (n = 0; a[n] != NULL; n++) 1153s # if (g_strcmp0 (a[n], b[n]) != 0) 1153s # goto out; 1153s # ret = TRUE; 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _g_variant_equal0 (GVariant *a, GVariant *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # ret = g_variant_equal (a, b); 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # G_GNUC_UNUSED static gboolean 1153s # _g_value_equal (const GValue *a, const GValue *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1153s # switch (G_VALUE_TYPE (a)) 1153s # { 1153s # case G_TYPE_BOOLEAN: 1153s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1153s # break; 1153s # case G_TYPE_UCHAR: 1153s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1153s # break; 1153s # case G_TYPE_INT: 1153s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1153s # break; 1153s # case G_TYPE_UINT: 1153s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1153s # break; 1153s # case G_TYPE_INT64: 1153s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1153s # break; 1153s # case G_TYPE_UINT64: 1153s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1153s # break; 1153s # case G_TYPE_DOUBLE: 1153s # { 1153s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1153s # gdouble da = g_value_get_double (a); 1153s # gdouble db = g_value_get_double (b); 1153s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1153s # } 1153s # break; 1153s # case G_TYPE_STRING: 1153s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1153s # break; 1153s # case G_TYPE_VARIANT: 1153s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1153s # break; 1153s # default: 1153s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1153s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1153s # else 1153s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1153s # break; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static void 1153s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint G_GNUC_UNUSED, 1153s # void *marshal_data) 1153s # { 1153s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1153s # (void *data1, 1153s # GDBusMethodInvocation *arg_method_invocation, 1153s # void *data2); 1153s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1153s # GCClosure *cc = (GCClosure*) closure; 1153s # void *data1, *data2; 1153s # gboolean v_return; 1153s # 1153s # g_return_if_fail (return_value != NULL); 1153s # g_return_if_fail (n_param_values == 2); 1153s # 1153s # if (G_CCLOSURE_SWAP_DATA (closure)) 1153s # { 1153s # data1 = closure->data; 1153s # data2 = g_value_peek_pointer (param_values + 0); 1153s # } 1153s # else 1153s # { 1153s # data1 = g_value_peek_pointer (param_values + 0); 1153s # data2 = closure->data; 1153s # } 1153s # 1153s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1153s # (marshal_data ? marshal_data : cc->callback); 1153s # 1153s # v_return = 1153s # callback (data1, 1153s # g_marshal_value_peek_object (param_values + 1), 1153s # data2); 1153s # 1153s # g_value_set_boolean (return_value, v_return); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.CallableIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectCallableIface 1153s # * @title: OrgProjectCallableIface 1153s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1153s # */ 1153s # 1153s # /* ---- Introspection data for org.project.CallableIface ---- */ 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_b", 1153s # (gchar *) "b", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_y", 1153s # (gchar *) "y", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_n", 1153s # (gchar *) "n", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_q", 1153s # (gchar *) "q", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_i", 1153s # (gchar *) "i", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_u", 1153s # (gchar *) "u", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_x", 1153s # (gchar *) "x", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_t", 1153s # (gchar *) "t", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_d", 1153s # (gchar *) "d", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_s", 1153s # (gchar *) "s", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_o", 1153s # (gchar *) "o", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_g", 1153s # (gchar *) "g", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_h", 1153s # (gchar *) "h", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ay", 1153s # (gchar *) "ay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_as", 1153s # (gchar *) "as", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ao", 1153s # (gchar *) "ao", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_aay", 1153s # (gchar *) "aay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_asv", 1153s # (gchar *) "a{sv}", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1153s # { 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1153s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "MethodWithManyArgs", 1153s # NULL, 1153s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "handle-method-with-many-args", 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1153s # { 1153s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.CallableIface", 1153s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1153s # NULL, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-callable-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_callable_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_callable_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_callable_iface_method_marshal_method_with_many_args ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectCallableIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.CallableIface. 1153s # */ 1153s # 1153s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1153s # { 1153s # /* GObject signals for incoming D-Bus method calls: */ 1153s # /** 1153s # * OrgProjectCallableIface::handle-method-with-many-args: 1153s # * @object: A #OrgProjectCallableIface. 1153s # * @invocation: A #GDBusMethodInvocation. 1153s # * 1153s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1153s # * 1153s # * 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. 1153s # * 1153s # * 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. 1153s # */ 1153s # g_signal_new ("handle-method-with-many-args", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1153s # g_signal_accumulator_true_handled, 1153s # NULL, 1153s # org_project_callable_iface_method_marshal_method_with_many_args, 1153s # G_TYPE_BOOLEAN, 1153s # 1, 1153s # G_TYPE_DBUS_METHOD_INVOCATION); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_method_with_many_args: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1153s # */ 1153s # void 1153s # org_project_callable_iface_call_method_with_many_args ( 1153s # OrgProjectCallableIface *proxy, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1153s # "MethodWithManyArgs", 1153s # g_variant_new ("()"), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # callback, 1153s # user_data); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_method_with_many_args_finish: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_callable_iface_call_method_with_many_args_finish ( 1153s # OrgProjectCallableIface *proxy, 1153s # gboolean *out_an_b, 1153s # guchar *out_an_y, 1153s # gint16 *out_an_n, 1153s # guint16 *out_an_q, 1153s # gint *out_an_i, 1153s # guint *out_an_u, 1153s # gint64 *out_an_x, 1153s # guint64 *out_an_t, 1153s # gdouble *out_an_d, 1153s # gchar **out_an_s, 1153s # gchar **out_an_o, 1153s # gchar **out_an_g, 1153s # GVariant **out_an_h, 1153s # gchar **out_an_ay, 1153s # gchar ***out_an_as, 1153s # gchar ***out_an_ao, 1153s # gchar ***out_an_aay, 1153s # GVariant **out_an_asv, 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # out_an_b, 1153s # out_an_y, 1153s # out_an_n, 1153s # out_an_q, 1153s # out_an_i, 1153s # out_an_u, 1153s # out_an_x, 1153s # out_an_t, 1153s # out_an_d, 1153s # out_an_s, 1153s # out_an_o, 1153s # out_an_g, 1153s # out_an_h, 1153s # out_an_ay, 1153s # out_an_as, 1153s # out_an_ao, 1153s # out_an_aay, 1153s # out_an_asv); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_call_method_with_many_args_sync: 1153s # * @proxy: A #OrgProjectCallableIfaceProxy. 1153s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1153s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # org_project_callable_iface_call_method_with_many_args_sync ( 1153s # OrgProjectCallableIface *proxy, 1153s # gboolean *out_an_b, 1153s # guchar *out_an_y, 1153s # gint16 *out_an_n, 1153s # guint16 *out_an_q, 1153s # gint *out_an_i, 1153s # guint *out_an_u, 1153s # gint64 *out_an_x, 1153s # guint64 *out_an_t, 1153s # gdouble *out_an_d, 1153s # gchar **out_an_s, 1153s # gchar **out_an_o, 1153s # gchar **out_an_g, 1153s # GVariant **out_an_h, 1153s # gchar **out_an_ay, 1153s # gchar ***out_an_as, 1153s # gchar ***out_an_ao, 1153s # gchar ***out_an_aay, 1153s # GVariant **out_an_asv, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1153s # "MethodWithManyArgs", 1153s # g_variant_new ("()"), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # cancellable, 1153s # error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # out_an_b, 1153s # out_an_y, 1153s # out_an_n, 1153s # out_an_q, 1153s # out_an_i, 1153s # out_an_u, 1153s # out_an_x, 1153s # out_an_t, 1153s # out_an_d, 1153s # out_an_s, 1153s # out_an_o, 1153s # out_an_g, 1153s # out_an_h, 1153s # out_an_ay, 1153s # out_an_as, 1153s # out_an_ao, 1153s # out_an_aay, 1153s # out_an_asv); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_complete_method_with_many_args: 1153s # * @object: A #OrgProjectCallableIface. 1153s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1153s # * @an_b: Parameter to return. 1153s # * @an_y: Parameter to return. 1153s # * @an_n: Parameter to return. 1153s # * @an_q: Parameter to return. 1153s # * @an_i: Parameter to return. 1153s # * @an_u: Parameter to return. 1153s # * @an_x: Parameter to return. 1153s # * @an_t: Parameter to return. 1153s # * @an_d: Parameter to return. 1153s # * @an_s: Parameter to return. 1153s # * @an_o: Parameter to return. 1153s # * @an_g: Parameter to return. 1153s # * @an_h: Parameter to return. 1153s # * @an_ay: Parameter to return. 1153s # * @an_as: Parameter to return. 1153s # * @an_ao: Parameter to return. 1153s # * @an_aay: Parameter to return. 1153s # * @an_asv: Parameter to return. 1153s # * 1153s # * 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. 1153s # * 1153s # * This method will free @invocation, you cannot use it afterwards. 1153s # */ 1153s # void 1153s # org_project_callable_iface_complete_method_with_many_args ( 1153s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1153s # GDBusMethodInvocation *invocation, 1153s # gboolean an_b, 1153s # guchar an_y, 1153s # gint16 an_n, 1153s # guint16 an_q, 1153s # gint an_i, 1153s # guint an_u, 1153s # gint64 an_x, 1153s # guint64 an_t, 1153s # gdouble an_d, 1153s # const gchar *an_s, 1153s # const gchar *an_o, 1153s # const gchar *an_g, 1153s # GVariant *an_h, 1153s # const gchar *an_ay, 1153s # const gchar *const *an_as, 1153s # const gchar *const *an_ao, 1153s # const gchar *const *an_aay, 1153s # GVariant *an_asv) 1153s # { 1153s # g_dbus_method_invocation_return_value (invocation, 1153s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # an_b, 1153s # an_y, 1153s # an_n, 1153s # an_q, 1153s # an_i, 1153s # an_u, 1153s # an_x, 1153s # an_t, 1153s # an_d, 1153s # an_s, 1153s # an_o, 1153s # an_g, 1153s # an_h, 1153s # an_ay, 1153s # an_as, 1153s # an_ao, 1153s # an_aay, 1153s # an_asv)); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceProxy: 1153s # * 1153s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectCallableIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectCallableIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_callable_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_callable_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_callable_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectCallableIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectCallableIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_callable_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_callable_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_callable_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1153s # { 1153s # _org_project_callable_iface_skeleton_handle_method_call, 1153s # _org_project_callable_iface_skeleton_handle_get_property, 1153s # _org_project_callable_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_callable_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_callable_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_callable_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectCallableIface * 1153s # org_project_callable_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1153s # } 1153s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1153s # tmpdir: /tmp/tmpdnee32zp 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmpdnee32zp/tmpfpa4trwk.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdnee32zp/tmpfpa4trwk.xml', '--output', '-', '--body'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: /* 1153s # * This file is generated by gdbus-codegen, do not modify it. 1153s # * 1153s # * The license of this code is the same as for the D-Bus interface description 1153s # * it was derived from. Note that it links to GLib, so must comply with the 1153s # * LGPL linking clauses. 1153s # */ 1153s # 1153s # #ifdef HAVE_CONFIG_H 1153s # # include "config.h" 1153s # #endif 1153s # 1153s # #include 1153s # #ifdef G_OS_UNIX 1153s # # include 1153s # #endif 1153s # 1153s # #ifdef G_ENABLE_DEBUG 1153s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1153s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1153s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1153s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1153s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1153s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1153s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1153s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1153s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1153s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1153s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1153s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1153s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1153s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1153s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1153s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1153s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1153s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1153s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1153s # #else /* !G_ENABLE_DEBUG */ 1153s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1153s # * Do not access GValues directly in your code. Instead, use the 1153s # * g_value_get_*() functions 1153s # */ 1153s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1153s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1153s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1153s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1153s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1153s # #endif /* !G_ENABLE_DEBUG */ 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusArgInfo parent_struct; 1153s # gboolean use_gvariant; 1153s # } _ExtendedGDBusArgInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusMethodInfo parent_struct; 1153s # const gchar *signal_name; 1153s # gboolean pass_fdlist; 1153s # } _ExtendedGDBusMethodInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusSignalInfo parent_struct; 1153s # const gchar *signal_name; 1153s # } _ExtendedGDBusSignalInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusPropertyInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # guint use_gvariant : 1; 1153s # guint emits_changed_signal : 1; 1153s # } _ExtendedGDBusPropertyInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusInterfaceInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # } _ExtendedGDBusInterfaceInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # const _ExtendedGDBusPropertyInfo *info; 1153s # guint prop_id; 1153s # GValue orig_value; /* the value before the change */ 1153s # } ChangedProperty; 1153s # 1153s # static void 1153s # _changed_property_free (ChangedProperty *data) 1153s # { 1153s # g_value_unset (&data->orig_value); 1153s # g_free (data); 1153s # } 1153s # 1153s # static gboolean 1153s # _g_strv_equal0 (gchar **a, gchar **b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # guint n; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # if (g_strv_length (a) != g_strv_length (b)) 1153s # goto out; 1153s # for (n = 0; a[n] != NULL; n++) 1153s # if (g_strcmp0 (a[n], b[n]) != 0) 1153s # goto out; 1153s # ret = TRUE; 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _g_variant_equal0 (GVariant *a, GVariant *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # ret = g_variant_equal (a, b); 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # G_GNUC_UNUSED static gboolean 1153s # _g_value_equal (const GValue *a, const GValue *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1153s # switch (G_VALUE_TYPE (a)) 1153s # { 1153s # case G_TYPE_BOOLEAN: 1153s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1153s # break; 1153s # case G_TYPE_UCHAR: 1153s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1153s # break; 1153s # case G_TYPE_INT: 1153s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1153s # break; 1153s # case G_TYPE_UINT: 1153s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1153s # break; 1153s # case G_TYPE_INT64: 1153s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1153s # break; 1153s # case G_TYPE_UINT64: 1153s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1153s # break; 1153s # case G_TYPE_DOUBLE: 1153s # { 1153s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1153s # gdouble da = g_value_get_double (a); 1153s # gdouble db = g_value_get_double (b); 1153s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1153s # } 1153s # break; 1153s # case G_TYPE_STRING: 1153s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1153s # break; 1153s # case G_TYPE_VARIANT: 1153s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1153s # break; 1153s # default: 1153s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1153s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1153s # else 1153s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1153s # break; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static void 1153s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint G_GNUC_UNUSED, 1153s # void *marshal_data) 1153s # { 1153s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1153s # (void *data1, 1153s # GUnixFDList *arg_fd_list, 1153s # GDBusMethodInvocation *arg_method_invocation, 1153s # const gchar *arg_greeting, 1153s # void *data2); 1153s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1153s # GCClosure *cc = (GCClosure*) closure; 1153s # void *data1, *data2; 1153s # gboolean v_return; 1153s # 1153s # g_return_if_fail (return_value != NULL); 1153s # g_return_if_fail (n_param_values == 4); 1153s # 1153s # if (G_CCLOSURE_SWAP_DATA (closure)) 1153s # { 1153s # data1 = closure->data; 1153s # data2 = g_value_peek_pointer (param_values + 0); 1153s # } 1153s # else 1153s # { 1153s # data1 = g_value_peek_pointer (param_values + 0); 1153s # data2 = closure->data; 1153s # } 1153s # 1153s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1153s # (marshal_data ? marshal_data : cc->callback); 1153s # 1153s # v_return = 1153s # callback (data1, 1153s # g_marshal_value_peek_object (param_values + 1), 1153s # g_marshal_value_peek_object (param_values + 2), 1153s # g_marshal_value_peek_string (param_values + 3), 1153s # data2); 1153s # 1153s # g_value_set_boolean (return_value, v_return); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface test.FDPassing 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:TestFDPassing 1153s # * @title: TestFDPassing 1153s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1153s # * 1153s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1153s # */ 1153s # 1153s # /* ---- Introspection data for test.FDPassing ---- */ 1153s # 1153s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "greeting", 1153s # (gchar *) "s", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1153s # { 1153s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "response", 1153s # (gchar *) "s", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1153s # { 1153s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "HelloFD", 1153s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1153s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "handle-hello-fd", 1153s # TRUE 1153s # }; 1153s # 1153s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1153s # { 1153s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "test.FDPassing", 1153s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1153s # NULL, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "test-fdpassing", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * test_fdpassing_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # test_fdpassing_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # test_fdpassing_method_marshal_hello_fd ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * TestFDPassing: 1153s # * 1153s # * Abstract interface type for the D-Bus interface test.FDPassing. 1153s # */ 1153s # 1153s # /** 1153s # * TestFDPassingIface: 1153s # * @parent_iface: The parent interface. 1153s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1153s # * 1153s # * Virtual table for the D-Bus interface test.FDPassing. 1153s # */ 1153s # 1153s # typedef TestFDPassingIface TestFDPassingInterface; 1153s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # test_fdpassing_default_init (TestFDPassingIface *iface) 1153s # { 1153s # /* GObject signals for incoming D-Bus method calls: */ 1153s # /** 1153s # * TestFDPassing::handle-hello-fd: 1153s # * @object: A #TestFDPassing. 1153s # * @invocation: A #GDBusMethodInvocation. 1153s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1153s # * @arg_greeting: Argument passed by remote caller. 1153s # * 1153s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1153s # * 1153s # * 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. 1153s # * 1153s # * 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. 1153s # */ 1153s # g_signal_new ("handle-hello-fd", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1153s # g_signal_accumulator_true_handled, 1153s # NULL, 1153s # test_fdpassing_method_marshal_hello_fd, 1153s # G_TYPE_BOOLEAN, 1153s # 3, 1153s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_call_hello_fd: 1153s # * @proxy: A #TestFDPassingProxy. 1153s # * @arg_greeting: Argument to pass with the method invocation. 1153s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1153s # * 1153s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1153s # */ 1153s # void 1153s # test_fdpassing_call_hello_fd ( 1153s # TestFDPassing *proxy, 1153s # const gchar *arg_greeting, 1153s # GUnixFDList *fd_list, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1153s # "HelloFD", 1153s # g_variant_new ("(s)", 1153s # arg_greeting), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # fd_list, 1153s # cancellable, 1153s # callback, 1153s # user_data); 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_call_hello_fd_finish: 1153s # * @proxy: A #TestFDPassingProxy. 1153s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # test_fdpassing_call_hello_fd_finish ( 1153s # TestFDPassing *proxy, 1153s # gchar **out_response, 1153s # GUnixFDList **out_fd_list, 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "(s)", 1153s # out_response); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_call_hello_fd_sync: 1153s # * @proxy: A #TestFDPassingProxy. 1153s # * @arg_greeting: Argument to pass with the method invocation. 1153s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1153s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1153s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL. 1153s # * 1153s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1153s # * 1153s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1153s # * 1153s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1153s # */ 1153s # gboolean 1153s # test_fdpassing_call_hello_fd_sync ( 1153s # TestFDPassing *proxy, 1153s # const gchar *arg_greeting, 1153s # GUnixFDList *fd_list, 1153s # gchar **out_response, 1153s # GUnixFDList **out_fd_list, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GVariant *_ret; 1153s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1153s # "HelloFD", 1153s # g_variant_new ("(s)", 1153s # arg_greeting), 1153s # G_DBUS_CALL_FLAGS_NONE, 1153s # -1, 1153s # fd_list, 1153s # out_fd_list, 1153s # cancellable, 1153s # error); 1153s # if (_ret == NULL) 1153s # goto _out; 1153s # g_variant_get (_ret, 1153s # "(s)", 1153s # out_response); 1153s # g_variant_unref (_ret); 1153s # _out: 1153s # return _ret != NULL; 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_complete_hello_fd: 1153s # * @object: A #TestFDPassing. 1153s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1153s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1153s # * @response: Parameter to return. 1153s # * 1153s # * 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. 1153s # * 1153s # * This method will free @invocation, you cannot use it afterwards. 1153s # */ 1153s # void 1153s # test_fdpassing_complete_hello_fd ( 1153s # TestFDPassing *object G_GNUC_UNUSED, 1153s # GDBusMethodInvocation *invocation, 1153s # GUnixFDList *fd_list, 1153s # const gchar *response) 1153s # { 1153s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1153s # g_variant_new ("(s)", 1153s # response), 1153s # fd_list); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * TestFDPassingProxy: 1153s # * 1153s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * TestFDPassingProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #TestFDPassingProxy. 1153s # */ 1153s # 1153s # struct _TestFDPassingProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (TestFDPassingProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # test_fdpassing_proxy_finalize (GObject *object) 1153s # { 1153s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1153s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1153s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1153s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # test_fdpassing_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with test_fdpassing_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # TestFDPassing * 1153s # test_fdpassing_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return TEST_FDPASSING (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # TestFDPassing * 1153s # test_fdpassing_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return TEST_FDPASSING (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * test_fdpassing_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # test_fdpassing_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # TestFDPassing * 1153s # test_fdpassing_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return TEST_FDPASSING (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # TestFDPassing * 1153s # test_fdpassing_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return TEST_FDPASSING (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * TestFDPassingSkeleton: 1153s # * 1153s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * TestFDPassingSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #TestFDPassingSkeleton. 1153s # */ 1153s # 1153s # struct _TestFDPassingSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _test_fdpassing_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _test_fdpassing_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _test_fdpassing_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1153s # { 1153s # _test_fdpassing_skeleton_handle_method_call, 1153s # _test_fdpassing_skeleton_handle_get_property, 1153s # _test_fdpassing_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return test_fdpassing_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # test_fdpassing_skeleton_finalize (GObject *object) 1153s # { 1153s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * test_fdpassing_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1153s # * 1153s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1153s # */ 1153s # TestFDPassing * 1153s # test_fdpassing_skeleton_new (void) 1153s # { 1153s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1153s # } 1153s ok 15 __main__.TestCodegen.test_generate_rst 1153s # tmpdir: /tmp/tmpaxv708ea 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmpaxv708ea/tmp0x4pcktm.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaxv708ea/tmp0x4pcktm.xml', '--generate-rst', 'test'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: 1153s ok 16 __main__.TestCodegen.test_generate_rst_method 1153s # tmpdir: /tmp/tmpxcw2o6k3 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmpxcw2o6k3/tmpow27s0h0.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxcw2o6k3/tmpow27s0h0.xml', '--generate-rst', 'test'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: 1153s ok 17 __main__.TestCodegen.test_generate_rst_property 1153s # tmpdir: /tmp/tmp9o53oise 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmp9o53oise/tmpwegvyqff.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9o53oise/tmpwegvyqff.xml', '--generate-rst', 'test'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: 1153s ok 18 __main__.TestCodegen.test_generate_rst_signal 1153s # tmpdir: /tmp/tmp4tgx1n3m 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmp4tgx1n3m/tmp37snybis.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tgx1n3m/tmp37snybis.xml', '--generate-rst', 'test'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: 1153s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1153s # tmpdir: /tmp/tmpuvg844dh 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmpuvg844dh/tmphhjus77c.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuvg844dh/tmphhjus77c.xml', '--output', '-', '--body'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: /* 1153s # * This file is generated by gdbus-codegen, do not modify it. 1153s # * 1153s # * The license of this code is the same as for the D-Bus interface description 1153s # * it was derived from. Note that it links to GLib, so must comply with the 1153s # * LGPL linking clauses. 1153s # */ 1153s # 1153s # #ifdef HAVE_CONFIG_H 1153s # # include "config.h" 1153s # #endif 1153s # 1153s # #include 1153s # #ifdef G_OS_UNIX 1153s # # include 1153s # #endif 1153s # 1153s # #ifdef G_ENABLE_DEBUG 1153s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1153s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1153s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1153s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1153s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1153s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1153s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1153s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1153s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1153s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1153s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1153s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1153s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1153s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1153s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1153s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1153s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1153s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1153s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1153s # #else /* !G_ENABLE_DEBUG */ 1153s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1153s # * Do not access GValues directly in your code. Instead, use the 1153s # * g_value_get_*() functions 1153s # */ 1153s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1153s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1153s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1153s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1153s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1153s # #endif /* !G_ENABLE_DEBUG */ 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusArgInfo parent_struct; 1153s # gboolean use_gvariant; 1153s # } _ExtendedGDBusArgInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusMethodInfo parent_struct; 1153s # const gchar *signal_name; 1153s # gboolean pass_fdlist; 1153s # } _ExtendedGDBusMethodInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusSignalInfo parent_struct; 1153s # const gchar *signal_name; 1153s # } _ExtendedGDBusSignalInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusPropertyInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # guint use_gvariant : 1; 1153s # guint emits_changed_signal : 1; 1153s # } _ExtendedGDBusPropertyInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusInterfaceInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # } _ExtendedGDBusInterfaceInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # const _ExtendedGDBusPropertyInfo *info; 1153s # guint prop_id; 1153s # GValue orig_value; /* the value before the change */ 1153s # } ChangedProperty; 1153s # 1153s # static void 1153s # _changed_property_free (ChangedProperty *data) 1153s # { 1153s # g_value_unset (&data->orig_value); 1153s # g_free (data); 1153s # } 1153s # 1153s # static gboolean 1153s # _g_strv_equal0 (gchar **a, gchar **b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # guint n; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # if (g_strv_length (a) != g_strv_length (b)) 1153s # goto out; 1153s # for (n = 0; a[n] != NULL; n++) 1153s # if (g_strcmp0 (a[n], b[n]) != 0) 1153s # goto out; 1153s # ret = TRUE; 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _g_variant_equal0 (GVariant *a, GVariant *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # ret = g_variant_equal (a, b); 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # G_GNUC_UNUSED static gboolean 1153s # _g_value_equal (const GValue *a, const GValue *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1153s # switch (G_VALUE_TYPE (a)) 1153s # { 1153s # case G_TYPE_BOOLEAN: 1153s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1153s # break; 1153s # case G_TYPE_UCHAR: 1153s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1153s # break; 1153s # case G_TYPE_INT: 1153s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1153s # break; 1153s # case G_TYPE_UINT: 1153s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1153s # break; 1153s # case G_TYPE_INT64: 1153s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1153s # break; 1153s # case G_TYPE_UINT64: 1153s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1153s # break; 1153s # case G_TYPE_DOUBLE: 1153s # { 1153s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1153s # gdouble da = g_value_get_double (a); 1153s # gdouble db = g_value_get_double (b); 1153s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1153s # } 1153s # break; 1153s # case G_TYPE_STRING: 1153s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1153s # break; 1153s # case G_TYPE_VARIANT: 1153s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1153s # break; 1153s # default: 1153s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1153s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1153s # else 1153s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1153s # break; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static void 1153s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1153s # GClosure *closure, 1153s # GValue *return_value G_GNUC_UNUSED, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint G_GNUC_UNUSED, 1153s # void *marshal_data) 1153s # { 1153s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1153s # (void *data1, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv, 1153s # void *data2); 1153s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1153s # GCClosure *cc = (GCClosure*) closure; 1153s # void *data1, *data2; 1153s # 1153s # g_return_if_fail (n_param_values == 19); 1153s # 1153s # if (G_CCLOSURE_SWAP_DATA (closure)) 1153s # { 1153s # data1 = closure->data; 1153s # data2 = g_value_peek_pointer (param_values + 0); 1153s # } 1153s # else 1153s # { 1153s # data1 = g_value_peek_pointer (param_values + 0); 1153s # data2 = closure->data; 1153s # } 1153s # 1153s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1153s # (marshal_data ? marshal_data : cc->callback); 1153s # 1153s # callback (data1, 1153s # g_marshal_value_peek_boolean (param_values + 1), 1153s # g_marshal_value_peek_uchar (param_values + 2), 1153s # g_marshal_value_peek_int (param_values + 3), 1153s # g_marshal_value_peek_uint (param_values + 4), 1153s # g_marshal_value_peek_int (param_values + 5), 1153s # g_marshal_value_peek_uint (param_values + 6), 1153s # g_marshal_value_peek_int64 (param_values + 7), 1153s # g_marshal_value_peek_uint64 (param_values + 8), 1153s # g_marshal_value_peek_double (param_values + 9), 1153s # g_marshal_value_peek_string (param_values + 10), 1153s # g_marshal_value_peek_string (param_values + 11), 1153s # g_marshal_value_peek_string (param_values + 12), 1153s # g_marshal_value_peek_variant (param_values + 13), 1153s # g_marshal_value_peek_string (param_values + 14), 1153s # g_marshal_value_peek_boxed (param_values + 15), 1153s # g_marshal_value_peek_boxed (param_values + 16), 1153s # g_marshal_value_peek_boxed (param_values + 17), 1153s # g_marshal_value_peek_variant (param_values + 18), 1153s # data2); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.SignalingIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectSignalingIface 1153s # * @title: OrgProjectSignalingIface 1153s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1153s # */ 1153s # 1153s # enum 1153s # { 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1153s # }; 1153s # 1153s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1153s # 1153s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_b", 1153s # (gchar *) "b", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_y", 1153s # (gchar *) "y", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_n", 1153s # (gchar *) "n", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_q", 1153s # (gchar *) "q", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_i", 1153s # (gchar *) "i", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_u", 1153s # (gchar *) "u", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_x", 1153s # (gchar *) "x", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_t", 1153s # (gchar *) "t", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_d", 1153s # (gchar *) "d", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_s", 1153s # (gchar *) "s", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_o", 1153s # (gchar *) "o", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_g", 1153s # (gchar *) "g", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_h", 1153s # (gchar *) "h", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ay", 1153s # (gchar *) "ay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_as", 1153s # (gchar *) "as", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ao", 1153s # (gchar *) "ao", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_aay", 1153s # (gchar *) "aay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_asv", 1153s # (gchar *) "a{sv}", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SignalWithManyArgs", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "signal-with-many-args" 1153s # }; 1153s # 1153s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.SignalingIface", 1153s # NULL, 1153s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-signaling-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_signaling_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_signaling_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1153s # */ 1153s # 1153s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1153s # { 1153s # /* GObject signals for received D-Bus signals: */ 1153s # /** 1153s # * OrgProjectSignalingIface::signal-with-many-args: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_b: Argument. 1153s # * @arg_an_y: Argument. 1153s # * @arg_an_n: Argument. 1153s # * @arg_an_q: Argument. 1153s # * @arg_an_i: Argument. 1153s # * @arg_an_u: Argument. 1153s # * @arg_an_x: Argument. 1153s # * @arg_an_t: Argument. 1153s # * @arg_an_d: Argument. 1153s # * @arg_an_s: Argument. 1153s # * @arg_an_o: Argument. 1153s # * @arg_an_g: Argument. 1153s # * @arg_an_h: Argument. 1153s # * @arg_an_ay: Argument. 1153s # * @arg_an_as: Argument. 1153s # * @arg_an_ao: Argument. 1153s # * @arg_an_aay: Argument. 1153s # * @arg_an_asv: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1153s # g_signal_new ("signal-with-many-args", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1153s # G_TYPE_NONE, 1153s # 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); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_signal_with_many_args: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_b: Argument to pass with the signal. 1153s # * @arg_an_y: Argument to pass with the signal. 1153s # * @arg_an_n: Argument to pass with the signal. 1153s # * @arg_an_q: Argument to pass with the signal. 1153s # * @arg_an_i: Argument to pass with the signal. 1153s # * @arg_an_u: Argument to pass with the signal. 1153s # * @arg_an_x: Argument to pass with the signal. 1153s # * @arg_an_t: Argument to pass with the signal. 1153s # * @arg_an_d: Argument to pass with the signal. 1153s # * @arg_an_s: Argument to pass with the signal. 1153s # * @arg_an_o: Argument to pass with the signal. 1153s # * @arg_an_g: Argument to pass with the signal. 1153s # * @arg_an_h: Argument to pass with the signal. 1153s # * @arg_an_ay: Argument to pass with the signal. 1153s # * @arg_an_as: Argument to pass with the signal. 1153s # * @arg_an_ao: Argument to pass with the signal. 1153s # * @arg_an_aay: Argument to pass with the signal. 1153s # * @arg_an_asv: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SignalWithManyArgs" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_signal_with_many_args ( 1153s # OrgProjectSignalingIface *object, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceProxy: 1153s # * 1153s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectSignalingIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectSignalingIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_signaling_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_signaling_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_signaling_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_signaling_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1153s # { 1153s # _org_project_signaling_iface_skeleton_handle_method_call, 1153s # _org_project_signaling_iface_skeleton_handle_get_property, 1153s # _org_project_signaling_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_signaling_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1153s # OrgProjectSignalingIface *object, 1153s # gboolean arg_an_b, 1153s # guchar arg_an_y, 1153s # gint16 arg_an_n, 1153s # guint16 arg_an_q, 1153s # gint arg_an_i, 1153s # guint arg_an_u, 1153s # gint64 arg_an_x, 1153s # guint64 arg_an_t, 1153s # gdouble arg_an_d, 1153s # const gchar *arg_an_s, 1153s # const gchar *arg_an_o, 1153s # const gchar *arg_an_g, 1153s # GVariant *arg_an_h, 1153s # const gchar *arg_an_ay, 1153s # const gchar *const *arg_an_as, 1153s # const gchar *const *arg_an_ao, 1153s # const gchar *const *arg_an_aay, 1153s # GVariant *arg_an_asv) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1153s # arg_an_b, 1153s # arg_an_y, 1153s # arg_an_n, 1153s # arg_an_q, 1153s # arg_an_i, 1153s # arg_an_u, 1153s # arg_an_x, 1153s # arg_an_t, 1153s # arg_an_d, 1153s # arg_an_s, 1153s # arg_an_o, 1153s # arg_an_g, 1153s # arg_an_h, 1153s # arg_an_ay, 1153s # arg_an_as, 1153s # arg_an_ao, 1153s # arg_an_aay, 1153s # arg_an_asv)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1153s # { 1153s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1153s # } 1153s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1153s # tmpdir: /tmp/tmp0yj6crlu 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmp0yj6crlu/tmpojws6doe.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0yj6crlu/tmpojws6doe.xml', '--output', '-', '--body'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: /* 1153s # * This file is generated by gdbus-codegen, do not modify it. 1153s # * 1153s # * The license of this code is the same as for the D-Bus interface description 1153s # * it was derived from. Note that it links to GLib, so must comply with the 1153s # * LGPL linking clauses. 1153s # */ 1153s # 1153s # #ifdef HAVE_CONFIG_H 1153s # # include "config.h" 1153s # #endif 1153s # 1153s # #include 1153s # #ifdef G_OS_UNIX 1153s # # include 1153s # #endif 1153s # 1153s # #ifdef G_ENABLE_DEBUG 1153s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1153s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1153s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1153s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1153s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1153s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1153s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1153s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1153s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1153s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1153s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1153s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1153s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1153s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1153s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1153s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1153s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1153s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1153s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1153s # #else /* !G_ENABLE_DEBUG */ 1153s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1153s # * Do not access GValues directly in your code. Instead, use the 1153s # * g_value_get_*() functions 1153s # */ 1153s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1153s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1153s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1153s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1153s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1153s # #endif /* !G_ENABLE_DEBUG */ 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusArgInfo parent_struct; 1153s # gboolean use_gvariant; 1153s # } _ExtendedGDBusArgInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusMethodInfo parent_struct; 1153s # const gchar *signal_name; 1153s # gboolean pass_fdlist; 1153s # } _ExtendedGDBusMethodInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusSignalInfo parent_struct; 1153s # const gchar *signal_name; 1153s # } _ExtendedGDBusSignalInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusPropertyInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # guint use_gvariant : 1; 1153s # guint emits_changed_signal : 1; 1153s # } _ExtendedGDBusPropertyInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusInterfaceInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # } _ExtendedGDBusInterfaceInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # const _ExtendedGDBusPropertyInfo *info; 1153s # guint prop_id; 1153s # GValue orig_value; /* the value before the change */ 1153s # } ChangedProperty; 1153s # 1153s # static void 1153s # _changed_property_free (ChangedProperty *data) 1153s # { 1153s # g_value_unset (&data->orig_value); 1153s # g_free (data); 1153s # } 1153s # 1153s # static gboolean 1153s # _g_strv_equal0 (gchar **a, gchar **b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # guint n; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # if (g_strv_length (a) != g_strv_length (b)) 1153s # goto out; 1153s # for (n = 0; a[n] != NULL; n++) 1153s # if (g_strcmp0 (a[n], b[n]) != 0) 1153s # goto out; 1153s # ret = TRUE; 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _g_variant_equal0 (GVariant *a, GVariant *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # ret = g_variant_equal (a, b); 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # G_GNUC_UNUSED static gboolean 1153s # _g_value_equal (const GValue *a, const GValue *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1153s # switch (G_VALUE_TYPE (a)) 1153s # { 1153s # case G_TYPE_BOOLEAN: 1153s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1153s # break; 1153s # case G_TYPE_UCHAR: 1153s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1153s # break; 1153s # case G_TYPE_INT: 1153s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1153s # break; 1153s # case G_TYPE_UINT: 1153s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1153s # break; 1153s # case G_TYPE_INT64: 1153s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1153s # break; 1153s # case G_TYPE_UINT64: 1153s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1153s # break; 1153s # case G_TYPE_DOUBLE: 1153s # { 1153s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1153s # gdouble da = g_value_get_double (a); 1153s # gdouble db = g_value_get_double (b); 1153s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1153s # } 1153s # break; 1153s # case G_TYPE_STRING: 1153s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1153s # break; 1153s # case G_TYPE_VARIANT: 1153s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1153s # break; 1153s # default: 1153s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1153s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1153s # else 1153s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1153s # break; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static void 1153s # _g_dbus_codegen_marshal_VOID__INT64 ( 1153s # GClosure *closure, 1153s # GValue *return_value G_GNUC_UNUSED, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint G_GNUC_UNUSED, 1153s # void *marshal_data) 1153s # { 1153s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1153s # (void *data1, 1153s # gint64 arg_an_x, 1153s # void *data2); 1153s # _GDbusCodegenMarshalVoid_Int64Func callback; 1153s # GCClosure *cc = (GCClosure*) closure; 1153s # void *data1, *data2; 1153s # 1153s # g_return_if_fail (n_param_values == 2); 1153s # 1153s # if (G_CCLOSURE_SWAP_DATA (closure)) 1153s # { 1153s # data1 = closure->data; 1153s # data2 = g_value_peek_pointer (param_values + 0); 1153s # } 1153s # else 1153s # { 1153s # data1 = g_value_peek_pointer (param_values + 0); 1153s # data2 = closure->data; 1153s # } 1153s # 1153s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1153s # (marshal_data ? marshal_data : cc->callback); 1153s # 1153s # callback (data1, 1153s # g_marshal_value_peek_int64 (param_values + 1), 1153s # data2); 1153s # } 1153s # 1153s # static void 1153s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1153s # GClosure *closure, 1153s # GValue *return_value G_GNUC_UNUSED, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint G_GNUC_UNUSED, 1153s # void *marshal_data) 1153s # { 1153s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1153s # (void *data1, 1153s # guint64 arg_an_t, 1153s # void *data2); 1153s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1153s # GCClosure *cc = (GCClosure*) closure; 1153s # void *data1, *data2; 1153s # 1153s # g_return_if_fail (n_param_values == 2); 1153s # 1153s # if (G_CCLOSURE_SWAP_DATA (closure)) 1153s # { 1153s # data1 = closure->data; 1153s # data2 = g_value_peek_pointer (param_values + 0); 1153s # } 1153s # else 1153s # { 1153s # data1 = g_value_peek_pointer (param_values + 0); 1153s # data2 = closure->data; 1153s # } 1153s # 1153s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1153s # (marshal_data ? marshal_data : cc->callback); 1153s # 1153s # callback (data1, 1153s # g_marshal_value_peek_uint64 (param_values + 1), 1153s # data2); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.SignalingIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectSignalingIface 1153s # * @title: OrgProjectSignalingIface 1153s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1153s # */ 1153s # 1153s # enum 1153s # { 1153s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1153s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1153s # }; 1153s # 1153s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1153s # 1153s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "NoArgSignal", 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "no-arg-signal" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_b", 1153s # (gchar *) "b", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalB", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-b" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_y", 1153s # (gchar *) "y", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalY", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-y" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_n", 1153s # (gchar *) "n", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalN", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-n" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_q", 1153s # (gchar *) "q", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalQ", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-q" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_i", 1153s # (gchar *) "i", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalI", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-i" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_u", 1153s # (gchar *) "u", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalU", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-u" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_x", 1153s # (gchar *) "x", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalX", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-x" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_t", 1153s # (gchar *) "t", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalT", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-t" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_d", 1153s # (gchar *) "d", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalD", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-d" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_s", 1153s # (gchar *) "s", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalS", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-s" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_o", 1153s # (gchar *) "o", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalO", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-o" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_g", 1153s # (gchar *) "g", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalG", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-g" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_h", 1153s # (gchar *) "h", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalH", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-h" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ay", 1153s # (gchar *) "ay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalAY", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-ay" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_as", 1153s # (gchar *) "as", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalAS", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-as" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_ao", 1153s # (gchar *) "ao", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalAO", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-ao" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_aay", 1153s # (gchar *) "aay", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalAAY", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-aay" 1153s # }; 1153s # 1153s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "an_asv", 1153s # (gchar *) "a{sv}", 1153s # NULL 1153s # }, 1153s # FALSE 1153s # }; 1153s # 1153s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SingleArgSignalASV", 1153s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1153s # NULL 1153s # }, 1153s # "single-arg-signal-asv" 1153s # }; 1153s # 1153s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1153s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.SignalingIface", 1153s # NULL, 1153s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-signaling-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_signaling_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_signaling_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VOID (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__UCHAR (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__INT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__UINT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__INT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__UINT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__DOUBLE (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__STRING (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__STRING (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__STRING (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VARIANT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__STRING (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__BOXED (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__BOXED (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__BOXED (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VARIANT (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1153s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1153s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1153s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1153s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1153s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1153s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1153s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1153s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1153s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1153s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1153s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1153s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1153s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1153s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1153s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1153s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1153s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1153s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1153s # */ 1153s # 1153s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1153s # { 1153s # /* GObject signals for received D-Bus signals: */ 1153s # /** 1153s # * OrgProjectSignalingIface::no-arg-signal: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1153s # g_signal_new ("no-arg-signal", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1153s # G_TYPE_NONE, 1153s # 0); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-b: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_b: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1153s # g_signal_new ("single-arg-signal-b", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_BOOLEAN); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-y: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_y: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1153s # g_signal_new ("single-arg-signal-y", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_UCHAR); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-n: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_n: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1153s # g_signal_new ("single-arg-signal-n", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_INT); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-q: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_q: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1153s # g_signal_new ("single-arg-signal-q", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_UINT); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-i: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_i: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1153s # g_signal_new ("single-arg-signal-i", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_INT); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-u: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_u: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1153s # g_signal_new ("single-arg-signal-u", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_UINT); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-x: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_x: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1153s # g_signal_new ("single-arg-signal-x", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_INT64); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-t: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_t: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1153s # g_signal_new ("single-arg-signal-t", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_UINT64); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-d: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_d: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1153s # g_signal_new ("single-arg-signal-d", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_DOUBLE); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-s: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_s: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1153s # g_signal_new ("single-arg-signal-s", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRING); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-o: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_o: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1153s # g_signal_new ("single-arg-signal-o", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRING); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-g: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_g: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1153s # g_signal_new ("single-arg-signal-g", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRING); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-h: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_h: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1153s # g_signal_new ("single-arg-signal-h", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_VARIANT); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-ay: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_ay: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1153s # g_signal_new ("single-arg-signal-ay", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRING); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-as: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_as: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1153s # g_signal_new ("single-arg-signal-as", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRV); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-ao: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_ao: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1153s # g_signal_new ("single-arg-signal-ao", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRV); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-aay: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_aay: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1153s # g_signal_new ("single-arg-signal-aay", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_STRV); 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface::single-arg-signal-asv: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_asv: Argument. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1153s # g_signal_new ("single-arg-signal-asv", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1153s # G_TYPE_NONE, 1153s # 1, G_TYPE_VARIANT); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_no_arg_signal: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * 1153s # * Emits the "NoArgSignal" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_no_arg_signal ( 1153s # OrgProjectSignalingIface *object) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_b: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_b: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalB" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_b ( 1153s # OrgProjectSignalingIface *object, 1153s # gboolean arg_an_b) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_y: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_y: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalY" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_y ( 1153s # OrgProjectSignalingIface *object, 1153s # guchar arg_an_y) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_n: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_n: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalN" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_n ( 1153s # OrgProjectSignalingIface *object, 1153s # gint16 arg_an_n) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_q: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_q: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalQ" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_q ( 1153s # OrgProjectSignalingIface *object, 1153s # guint16 arg_an_q) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_i: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_i: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalI" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_i ( 1153s # OrgProjectSignalingIface *object, 1153s # gint arg_an_i) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_u: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_u: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalU" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_u ( 1153s # OrgProjectSignalingIface *object, 1153s # guint arg_an_u) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_x: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_x: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalX" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_x ( 1153s # OrgProjectSignalingIface *object, 1153s # gint64 arg_an_x) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_t: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_t: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalT" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_t ( 1153s # OrgProjectSignalingIface *object, 1153s # guint64 arg_an_t) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_d: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_d: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalD" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_d ( 1153s # OrgProjectSignalingIface *object, 1153s # gdouble arg_an_d) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_s: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_s: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalS" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_s ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_s) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_o: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_o: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalO" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_o ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_o) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_g: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_g: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalG" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_g ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_g) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_h: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_h: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalH" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_h ( 1153s # OrgProjectSignalingIface *object, 1153s # GVariant *arg_an_h) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_ay: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalAY" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_ay) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_as: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_as: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalAS" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_as ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *const *arg_an_as) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_ao: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalAO" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *const *arg_an_ao) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_aay: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *const *arg_an_aay) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * @arg_an_asv: Argument to pass with the signal. 1153s # * 1153s # * Emits the "SingleArgSignalASV" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1153s # OrgProjectSignalingIface *object, 1153s # GVariant *arg_an_asv) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceProxy: 1153s # * 1153s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectSignalingIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectSignalingIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_signaling_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_signaling_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_signaling_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_signaling_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1153s # { 1153s # _org_project_signaling_iface_skeleton_handle_method_call, 1153s # _org_project_signaling_iface_skeleton_handle_get_property, 1153s # _org_project_signaling_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_signaling_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1153s # OrgProjectSignalingIface *object) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1153s # OrgProjectSignalingIface *object, 1153s # gboolean arg_an_b) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1153s # arg_an_b)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1153s # OrgProjectSignalingIface *object, 1153s # guchar arg_an_y) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1153s # arg_an_y)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1153s # OrgProjectSignalingIface *object, 1153s # gint16 arg_an_n) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1153s # arg_an_n)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1153s # OrgProjectSignalingIface *object, 1153s # guint16 arg_an_q) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1153s # arg_an_q)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1153s # OrgProjectSignalingIface *object, 1153s # gint arg_an_i) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1153s # arg_an_i)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1153s # OrgProjectSignalingIface *object, 1153s # guint arg_an_u) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1153s # arg_an_u)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1153s # OrgProjectSignalingIface *object, 1153s # gint64 arg_an_x) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1153s # arg_an_x)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1153s # OrgProjectSignalingIface *object, 1153s # guint64 arg_an_t) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1153s # arg_an_t)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1153s # OrgProjectSignalingIface *object, 1153s # gdouble arg_an_d) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1153s # arg_an_d)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_s) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1153s # arg_an_s)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_o) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1153s # arg_an_o)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_g) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1153s # arg_an_g)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1153s # OrgProjectSignalingIface *object, 1153s # GVariant *arg_an_h) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1153s # arg_an_h)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *arg_an_ay) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1153s # arg_an_ay)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *const *arg_an_as) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1153s # arg_an_as)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *const *arg_an_ao) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1153s # arg_an_ao)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1153s # OrgProjectSignalingIface *object, 1153s # const gchar *const *arg_an_aay) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1153s # arg_an_aay)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1153s # OrgProjectSignalingIface *object, 1153s # GVariant *arg_an_asv) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1153s # arg_an_asv)); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1153s # { 1153s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1153s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1153s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1153s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1153s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1153s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1153s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1153s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1153s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1153s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1153s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1153s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1153s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1153s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1153s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1153s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1153s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1153s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1153s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1153s # } 1153s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1153s # tmpdir: /tmp/tmp201ygh_s 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmp201ygh_s/tmpt25ut3_b.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp201ygh_s/tmpt25ut3_b.xml', '--output', '-', '--body'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: /* 1153s # * This file is generated by gdbus-codegen, do not modify it. 1153s # * 1153s # * The license of this code is the same as for the D-Bus interface description 1153s # * it was derived from. Note that it links to GLib, so must comply with the 1153s # * LGPL linking clauses. 1153s # */ 1153s # 1153s # #ifdef HAVE_CONFIG_H 1153s # # include "config.h" 1153s # #endif 1153s # 1153s # #include 1153s # #ifdef G_OS_UNIX 1153s # # include 1153s # #endif 1153s # 1153s # #ifdef G_ENABLE_DEBUG 1153s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1153s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1153s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1153s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1153s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1153s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1153s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1153s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1153s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1153s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1153s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1153s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1153s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1153s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1153s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1153s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1153s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1153s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1153s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1153s # #else /* !G_ENABLE_DEBUG */ 1153s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1153s # * Do not access GValues directly in your code. Instead, use the 1153s # * g_value_get_*() functions 1153s # */ 1153s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1153s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1153s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1153s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1153s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1153s # #endif /* !G_ENABLE_DEBUG */ 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusArgInfo parent_struct; 1153s # gboolean use_gvariant; 1153s # } _ExtendedGDBusArgInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusMethodInfo parent_struct; 1153s # const gchar *signal_name; 1153s # gboolean pass_fdlist; 1153s # } _ExtendedGDBusMethodInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusSignalInfo parent_struct; 1153s # const gchar *signal_name; 1153s # } _ExtendedGDBusSignalInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusPropertyInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # guint use_gvariant : 1; 1153s # guint emits_changed_signal : 1; 1153s # } _ExtendedGDBusPropertyInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusInterfaceInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # } _ExtendedGDBusInterfaceInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # const _ExtendedGDBusPropertyInfo *info; 1153s # guint prop_id; 1153s # GValue orig_value; /* the value before the change */ 1153s # } ChangedProperty; 1153s # 1153s # static void 1153s # _changed_property_free (ChangedProperty *data) 1153s # { 1153s # g_value_unset (&data->orig_value); 1153s # g_free (data); 1153s # } 1153s # 1153s # static gboolean 1153s # _g_strv_equal0 (gchar **a, gchar **b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # guint n; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # if (g_strv_length (a) != g_strv_length (b)) 1153s # goto out; 1153s # for (n = 0; a[n] != NULL; n++) 1153s # if (g_strcmp0 (a[n], b[n]) != 0) 1153s # goto out; 1153s # ret = TRUE; 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _g_variant_equal0 (GVariant *a, GVariant *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # ret = g_variant_equal (a, b); 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # G_GNUC_UNUSED static gboolean 1153s # _g_value_equal (const GValue *a, const GValue *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1153s # switch (G_VALUE_TYPE (a)) 1153s # { 1153s # case G_TYPE_BOOLEAN: 1153s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1153s # break; 1153s # case G_TYPE_UCHAR: 1153s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1153s # break; 1153s # case G_TYPE_INT: 1153s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1153s # break; 1153s # case G_TYPE_UINT: 1153s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1153s # break; 1153s # case G_TYPE_INT64: 1153s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1153s # break; 1153s # case G_TYPE_UINT64: 1153s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1153s # break; 1153s # case G_TYPE_DOUBLE: 1153s # { 1153s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1153s # gdouble da = g_value_get_double (a); 1153s # gdouble db = g_value_get_double (b); 1153s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1153s # } 1153s # break; 1153s # case G_TYPE_STRING: 1153s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1153s # break; 1153s # case G_TYPE_VARIANT: 1153s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1153s # break; 1153s # default: 1153s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1153s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1153s # else 1153s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1153s # break; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.UsefulInterface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectUsefulInterface 1153s # * @title: OrgProjectUsefulInterface 1153s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1153s # */ 1153s # 1153s # enum 1153s # { 1153s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1153s # }; 1153s # 1153s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1153s # 1153s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SimpleSignal", 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "simple-signal" 1153s # }; 1153s # 1153s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1153s # { 1153s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.UsefulInterface", 1153s # NULL, 1153s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-useful-interface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_useful_interface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_useful_interface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_useful_interface_signal_marshal_simple_signal ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VOID (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectUsefulInterface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectUsefulInterfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1153s # */ 1153s # 1153s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1153s # { 1153s # /* GObject signals for received D-Bus signals: */ 1153s # /** 1153s # * OrgProjectUsefulInterface::simple-signal: 1153s # * @object: A #OrgProjectUsefulInterface. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1153s # g_signal_new ("simple-signal", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1153s # NULL, 1153s # NULL, 1153s # org_project_useful_interface_signal_marshal_simple_signal, 1153s # G_TYPE_NONE, 1153s # 0); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_emit_simple_signal: 1153s # * @object: A #OrgProjectUsefulInterface. 1153s # * 1153s # * Emits the "SimpleSignal" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_useful_interface_emit_simple_signal ( 1153s # OrgProjectUsefulInterface *object) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectUsefulInterfaceProxy: 1153s # * 1153s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectUsefulInterfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectUsefulInterfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_useful_interface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1153s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1153s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_useful_interface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectUsefulInterface * 1153s # org_project_useful_interface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectUsefulInterface * 1153s # org_project_useful_interface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_useful_interface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_useful_interface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # g_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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectUsefulInterface * 1153s # org_project_useful_interface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectUsefulInterface * 1153s # org_project_useful_interface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectUsefulInterfaceSkeleton: 1153s # * 1153s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectUsefulInterfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_useful_interface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_useful_interface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_useful_interface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1153s # { 1153s # _org_project_useful_interface_skeleton_handle_method_call, 1153s # _org_project_useful_interface_skeleton_handle_get_property, 1153s # _org_project_useful_interface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_useful_interface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # _org_project_useful_interface_on_signal_simple_signal ( 1153s # OrgProjectUsefulInterface *object) 1153s # { 1153s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_useful_interface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1153s # { 1153s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1153s # } 1153s # 1153s # /** 1153s # * org_project_useful_interface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectUsefulInterface * 1153s # org_project_useful_interface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.OtherIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectOtherIface 1153s # * @title: OrgProjectOtherIface 1153s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1153s # */ 1153s # 1153s # enum 1153s # { 1153s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1153s # }; 1153s # 1153s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1153s # 1153s # /* ---- Introspection data for org.project.OtherIface ---- */ 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SimpleSignal", 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "simple-signal" 1153s # }; 1153s # 1153s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1153s # { 1153s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.OtherIface", 1153s # NULL, 1153s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-other-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_other_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_other_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_other_iface_signal_marshal_simple_signal ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VOID (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectOtherIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.OtherIface. 1153s # */ 1153s # 1153s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1153s # { 1153s # /* GObject signals for received D-Bus signals: */ 1153s # /** 1153s # * OrgProjectOtherIface::simple-signal: 1153s # * @object: A #OrgProjectOtherIface. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1153s # g_signal_new ("simple-signal", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1153s # NULL, 1153s # NULL, 1153s # org_project_other_iface_signal_marshal_simple_signal, 1153s # G_TYPE_NONE, 1153s # 0); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_emit_simple_signal: 1153s # * @object: A #OrgProjectOtherIface. 1153s # * 1153s # * Emits the "SimpleSignal" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_other_iface_emit_simple_signal ( 1153s # OrgProjectOtherIface *object) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectOtherIfaceProxy: 1153s # * 1153s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectOtherIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectOtherIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_other_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_other_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherIface * 1153s # org_project_other_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherIface * 1153s # org_project_other_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_other_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_other_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherIface * 1153s # org_project_other_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherIface * 1153s # org_project_other_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectOtherIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectOtherIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_other_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_other_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_other_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1153s # { 1153s # _org_project_other_iface_skeleton_handle_method_call, 1153s # _org_project_other_iface_skeleton_handle_get_property, 1153s # _org_project_other_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_other_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # _org_project_other_iface_on_signal_simple_signal ( 1153s # OrgProjectOtherIface *object) 1153s # { 1153s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_other_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1153s # { 1153s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectOtherIface * 1153s # org_project_other_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1153s # } 1153s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1153s # tmpdir: /tmp/tmpr0ggdohk 1153s # codegen: /usr/bin/gdbus-codegen 1153s # /tmp/tmpr0ggdohk/tmpvy8uyo_3.xml: 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # 1153s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr0ggdohk/tmpvy8uyo_3.xml', '--output', '-', '--body'] 1153s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: /* 1153s # * This file is generated by gdbus-codegen, do not modify it. 1153s # * 1153s # * The license of this code is the same as for the D-Bus interface description 1153s # * it was derived from. Note that it links to GLib, so must comply with the 1153s # * LGPL linking clauses. 1153s # */ 1153s # 1153s # #ifdef HAVE_CONFIG_H 1153s # # include "config.h" 1153s # #endif 1153s # 1153s # #include 1153s # #ifdef G_OS_UNIX 1153s # # include 1153s # #endif 1153s # 1153s # #ifdef G_ENABLE_DEBUG 1153s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1153s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1153s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1153s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1153s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1153s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1153s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1153s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1153s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1153s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1153s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1153s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1153s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1153s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1153s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1153s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1153s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1153s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1153s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1153s # #else /* !G_ENABLE_DEBUG */ 1153s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1153s # * Do not access GValues directly in your code. Instead, use the 1153s # * g_value_get_*() functions 1153s # */ 1153s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1153s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1153s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1153s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1153s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1153s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1153s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1153s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1153s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1153s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1153s # #endif /* !G_ENABLE_DEBUG */ 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusArgInfo parent_struct; 1153s # gboolean use_gvariant; 1153s # } _ExtendedGDBusArgInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusMethodInfo parent_struct; 1153s # const gchar *signal_name; 1153s # gboolean pass_fdlist; 1153s # } _ExtendedGDBusMethodInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusSignalInfo parent_struct; 1153s # const gchar *signal_name; 1153s # } _ExtendedGDBusSignalInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusPropertyInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # guint use_gvariant : 1; 1153s # guint emits_changed_signal : 1; 1153s # } _ExtendedGDBusPropertyInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # GDBusInterfaceInfo parent_struct; 1153s # const gchar *hyphen_name; 1153s # } _ExtendedGDBusInterfaceInfo; 1153s # 1153s # typedef struct 1153s # { 1153s # const _ExtendedGDBusPropertyInfo *info; 1153s # guint prop_id; 1153s # GValue orig_value; /* the value before the change */ 1153s # } ChangedProperty; 1153s # 1153s # static void 1153s # _changed_property_free (ChangedProperty *data) 1153s # { 1153s # g_value_unset (&data->orig_value); 1153s # g_free (data); 1153s # } 1153s # 1153s # static gboolean 1153s # _g_strv_equal0 (gchar **a, gchar **b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # guint n; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # if (g_strv_length (a) != g_strv_length (b)) 1153s # goto out; 1153s # for (n = 0; a[n] != NULL; n++) 1153s # if (g_strcmp0 (a[n], b[n]) != 0) 1153s # goto out; 1153s # ret = TRUE; 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _g_variant_equal0 (GVariant *a, GVariant *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # if (a == NULL && b == NULL) 1153s # { 1153s # ret = TRUE; 1153s # goto out; 1153s # } 1153s # if (a == NULL || b == NULL) 1153s # goto out; 1153s # ret = g_variant_equal (a, b); 1153s # out: 1153s # return ret; 1153s # } 1153s # 1153s # G_GNUC_UNUSED static gboolean 1153s # _g_value_equal (const GValue *a, const GValue *b) 1153s # { 1153s # gboolean ret = FALSE; 1153s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1153s # switch (G_VALUE_TYPE (a)) 1153s # { 1153s # case G_TYPE_BOOLEAN: 1153s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1153s # break; 1153s # case G_TYPE_UCHAR: 1153s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1153s # break; 1153s # case G_TYPE_INT: 1153s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1153s # break; 1153s # case G_TYPE_UINT: 1153s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1153s # break; 1153s # case G_TYPE_INT64: 1153s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1153s # break; 1153s # case G_TYPE_UINT64: 1153s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1153s # break; 1153s # case G_TYPE_DOUBLE: 1153s # { 1153s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1153s # gdouble da = g_value_get_double (a); 1153s # gdouble db = g_value_get_double (b); 1153s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1153s # } 1153s # break; 1153s # case G_TYPE_STRING: 1153s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1153s # break; 1153s # case G_TYPE_VARIANT: 1153s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1153s # break; 1153s # default: 1153s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1153s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1153s # else 1153s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1153s # break; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.SignalingIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectSignalingIface 1153s # * @title: OrgProjectSignalingIface 1153s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1153s # */ 1153s # 1153s # enum 1153s # { 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1153s # }; 1153s # 1153s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1153s # 1153s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SimpleSignal", 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "simple-signal" 1153s # }; 1153s # 1153s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1153s # { 1153s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.SignalingIface", 1153s # NULL, 1153s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-signaling-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_signaling_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_signaling_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_signaling_iface_signal_marshal_simple_signal ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VOID (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectSignalingIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1153s # */ 1153s # 1153s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1153s # { 1153s # /* GObject signals for received D-Bus signals: */ 1153s # /** 1153s # * OrgProjectSignalingIface::simple-signal: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1153s # g_signal_new ("simple-signal", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1153s # NULL, 1153s # NULL, 1153s # org_project_signaling_iface_signal_marshal_simple_signal, 1153s # G_TYPE_NONE, 1153s # 0); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_emit_simple_signal: 1153s # * @object: A #OrgProjectSignalingIface. 1153s # * 1153s # * Emits the "SimpleSignal" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_emit_simple_signal ( 1153s # OrgProjectSignalingIface *object) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceProxy: 1153s # * 1153s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectSignalingIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectSignalingIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_signaling_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_signaling_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectSignalingIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_signaling_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_signaling_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_signaling_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1153s # { 1153s # _org_project_signaling_iface_skeleton_handle_method_call, 1153s # _org_project_signaling_iface_skeleton_handle_get_property, 1153s # _org_project_signaling_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_signaling_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # _org_project_signaling_iface_on_signal_simple_signal ( 1153s # OrgProjectSignalingIface *object) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1153s # { 1153s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1153s # } 1153s # 1153s # /** 1153s # * org_project_signaling_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectSignalingIface * 1153s # org_project_signaling_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ 1153s # * Code for interface org.project.OtherSignalingIface 1153s # * ------------------------------------------------------------------------ 1153s # */ 1153s # 1153s # /** 1153s # * SECTION:OrgProjectOtherSignalingIface 1153s # * @title: OrgProjectOtherSignalingIface 1153s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1153s # * 1153s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1153s # */ 1153s # 1153s # enum 1153s # { 1153s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1153s # }; 1153s # 1153s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1153s # 1153s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1153s # 1153s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "SimpleSignal", 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "simple-signal" 1153s # }; 1153s # 1153s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1153s # { 1153s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1153s # NULL 1153s # }; 1153s # 1153s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1153s # { 1153s # { 1153s # -1, 1153s # (gchar *) "org.project.OtherSignalingIface", 1153s # NULL, 1153s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1153s # NULL, 1153s # NULL 1153s # }, 1153s # "org-project-other-signaling-iface", 1153s # }; 1153s # 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_interface_info: 1153s # * 1153s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1153s # * 1153s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1153s # */ 1153s # GDBusInterfaceInfo * 1153s # org_project_other_signaling_iface_interface_info (void) 1153s # { 1153s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_override_properties: 1153s # * @klass: The class structure for a #GObject derived class. 1153s # * @property_id_begin: The property id to assign to the first overridden property. 1153s # * 1153s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1153s # * The properties are overridden in the order they are defined. 1153s # * 1153s # * Returns: The last property id. 1153s # */ 1153s # guint 1153s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1153s # { 1153s # return property_id_begin - 1; 1153s # } 1153s # 1153s # 1153s # inline static void 1153s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1153s # GClosure *closure, 1153s # GValue *return_value, 1153s # unsigned int n_param_values, 1153s # const GValue *param_values, 1153s # void *invocation_hint, 1153s # void *marshal_data) 1153s # { 1153s # g_cclosure_marshal_VOID__VOID (closure, 1153s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1153s # } 1153s # 1153s # 1153s # /** 1153s # * OrgProjectOtherSignalingIface: 1153s # * 1153s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherSignalingIfaceIface: 1153s # * @parent_iface: The parent interface. 1153s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1153s # * 1153s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1153s # */ 1153s # 1153s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1153s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1153s # { 1153s # /* GObject signals for received D-Bus signals: */ 1153s # /** 1153s # * OrgProjectOtherSignalingIface::simple-signal: 1153s # * @object: A #OrgProjectOtherSignalingIface. 1153s # * 1153s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1153s # * 1153s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1153s # */ 1153s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1153s # g_signal_new ("simple-signal", 1153s # G_TYPE_FROM_INTERFACE (iface), 1153s # G_SIGNAL_RUN_LAST, 1153s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1153s # NULL, 1153s # NULL, 1153s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1153s # G_TYPE_NONE, 1153s # 0); 1153s # 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_emit_simple_signal: 1153s # * @object: A #OrgProjectOtherSignalingIface. 1153s # * 1153s # * Emits the "SimpleSignal" D-Bus signal. 1153s # */ 1153s # void 1153s # org_project_other_signaling_iface_emit_simple_signal ( 1153s # OrgProjectOtherSignalingIface *object) 1153s # { 1153s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1153s # } 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectOtherSignalingIfaceProxy: 1153s # * 1153s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherSignalingIfaceProxyClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1153s # */ 1153s # 1153s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1153s # { 1153s # GData *qdata; 1153s # }; 1153s # 1153s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1153s # { 1153s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1153s # g_datalist_clear (&proxy->priv->qdata); 1153s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1153s # guint prop_id G_GNUC_UNUSED, 1153s # const GValue *value G_GNUC_UNUSED, 1153s # GParamSpec *pspec G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1153s # const gchar *sender_name G_GNUC_UNUSED, 1153s # const gchar *signal_name, 1153s # GVariant *parameters) 1153s # { 1153s # _ExtendedGDBusSignalInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # gsize n; 1153s # guint signal_id; 1153s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1153s # if (info == NULL) 1153s # return; 1153s # num_params = g_variant_n_children (parameters); 1153s # paramv = g_new0 (GValue, num_params + 1); 1153s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[0], proxy); 1153s # g_variant_iter_init (&iter, parameters); 1153s # n = 1; 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1153s # g_signal_emitv (paramv, signal_id, 0, NULL); 1153s # for (n = 0; n < num_params + 1; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1153s # GVariant *changed_properties, 1153s # const gchar *const *invalidated_properties) 1153s # { 1153s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1153s # guint n; 1153s # const gchar *key; 1153s # GVariantIter *iter; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # g_variant_get (changed_properties, "a{sv}", &iter); 1153s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1153s # g_datalist_remove_data (&proxy->priv->qdata, key); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # g_variant_iter_free (iter); 1153s # for (n = 0; invalidated_properties[n] != NULL; n++) 1153s # { 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1153s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1153s # if (info != NULL) 1153s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1153s # } 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1153s # #else 1153s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1153s # #endif 1153s # 1153s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusProxyClass *proxy_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1153s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1153s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1153s # 1153s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1153s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1153s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_proxy_new: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_other_signaling_iface_proxy_new ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_proxy_new_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherSignalingIface * 1153s # org_project_other_signaling_iface_proxy_new_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_proxy_new_sync: 1153s # * @connection: A #GDBusConnection. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherSignalingIface * 1153s # org_project_other_signaling_iface_proxy_new_sync ( 1153s # GDBusConnection *connection, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_proxy_new_for_bus: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1153s # * @user_data: User data to pass to @callback. 1153s # * 1153s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1153s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1153s # * 1153s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1153s # */ 1153s # void 1153s # org_project_other_signaling_iface_proxy_new_for_bus ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GAsyncReadyCallback callback, 1153s # gpointer user_data) 1153s # { 1153s # 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); 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1153s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherSignalingIface * 1153s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1153s # GAsyncResult *res, 1153s # GError **error) 1153s # { 1153s # GObject *ret; 1153s # GObject *source_object; 1153s # source_object = g_async_result_get_source_object (res); 1153s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1153s # g_object_unref (source_object); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1153s # * @bus_type: A #GBusType. 1153s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1153s # * @name: A bus name (well-known or unique). 1153s # * @object_path: An object path. 1153s # * @cancellable: (nullable): A #GCancellable or %NULL. 1153s # * @error: Return location for error or %NULL 1153s # * 1153s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1153s # * 1153s # * The calling thread is blocked until a reply is received. 1153s # * 1153s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1153s # */ 1153s # OrgProjectOtherSignalingIface * 1153s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1153s # GBusType bus_type, 1153s # GDBusProxyFlags flags, 1153s # const gchar *name, 1153s # const gchar *object_path, 1153s # GCancellable *cancellable, 1153s # GError **error) 1153s # { 1153s # GInitable *ret; 1153s # 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); 1153s # if (ret != NULL) 1153s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1153s # else 1153s # return NULL; 1153s # } 1153s # 1153s # 1153s # /* ------------------------------------------------------------------------ */ 1153s # 1153s # /** 1153s # * OrgProjectOtherSignalingIfaceSkeleton: 1153s # * 1153s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1153s # */ 1153s # 1153s # /** 1153s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1153s # * @parent_class: The parent class. 1153s # * 1153s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1153s # */ 1153s # 1153s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1153s # { 1153s # GValue *properties; 1153s # GList *changed_properties; 1153s # GSource *changed_properties_idle_source; 1153s # GMainContext *context; 1153s # GMutex lock; 1153s # }; 1153s # 1153s # static void 1153s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name, 1153s # const gchar *method_name, 1153s # GVariant *parameters, 1153s # GDBusMethodInvocation *invocation, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1153s # _ExtendedGDBusMethodInfo *info; 1153s # GVariantIter iter; 1153s # GVariant *child; 1153s # GValue *paramv; 1153s # gsize num_params; 1153s # guint num_extra; 1153s # gsize n; 1153s # guint signal_id; 1153s # GValue return_value = G_VALUE_INIT; 1153s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1153s # g_assert (info != NULL); 1153s # num_params = g_variant_n_children (parameters); 1153s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1153s # n = 0; 1153s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1153s # g_value_set_object (¶mv[n++], skeleton); 1153s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1153s # g_value_set_object (¶mv[n++], invocation); 1153s # if (info->pass_fdlist) 1153s # { 1153s # #ifdef G_OS_UNIX 1153s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1153s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1153s # #else 1153s # g_assert_not_reached (); 1153s # #endif 1153s # } 1153s # g_variant_iter_init (&iter, parameters); 1153s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1153s # { 1153s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1153s # if (arg_info->use_gvariant) 1153s # { 1153s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1153s # g_value_set_variant (¶mv[n], child); 1153s # n++; 1153s # } 1153s # else 1153s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1153s # g_variant_unref (child); 1153s # } 1153s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1153s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1153s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1153s # if (!g_value_get_boolean (&return_value)) 1153s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1153s # g_value_unset (&return_value); 1153s # for (n = 0; n < num_params + num_extra; n++) 1153s # g_value_unset (¶mv[n]); 1153s # g_free (paramv); 1153s # } 1153s # 1153s # static GVariant * 1153s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # GVariant *ret; 1153s # ret = NULL; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # g_value_init (&value, pspec->value_type); 1153s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1153s # g_value_unset (&value); 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static gboolean 1153s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1153s # GDBusConnection *connection G_GNUC_UNUSED, 1153s # const gchar *sender G_GNUC_UNUSED, 1153s # const gchar *object_path G_GNUC_UNUSED, 1153s # const gchar *interface_name G_GNUC_UNUSED, 1153s # const gchar *property_name, 1153s # GVariant *variant, 1153s # GError **error, 1153s # gpointer user_data) 1153s # { 1153s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1153s # GValue value = G_VALUE_INIT; 1153s # GParamSpec *pspec; 1153s # _ExtendedGDBusPropertyInfo *info; 1153s # gboolean ret; 1153s # ret = FALSE; 1153s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1153s # g_assert (info != NULL); 1153s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1153s # if (pspec == NULL) 1153s # { 1153s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1153s # } 1153s # else 1153s # { 1153s # if (info->use_gvariant) 1153s # g_value_set_variant (&value, variant); 1153s # else 1153s # g_dbus_gvariant_to_gvalue (variant, &value); 1153s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1153s # g_value_unset (&value); 1153s # ret = TRUE; 1153s # } 1153s # return ret; 1153s # } 1153s # 1153s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1153s # { 1153s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1153s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1153s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1153s # {NULL} 1153s # }; 1153s # 1153s # static GDBusInterfaceInfo * 1153s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return org_project_other_signaling_iface_interface_info (); 1153s # } 1153s # 1153s # static GDBusInterfaceVTable * 1153s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1153s # { 1153s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1153s # } 1153s # 1153s # static GVariant * 1153s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1153s # { 1153s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1153s # 1153s # GVariantBuilder builder; 1153s # guint n; 1153s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1153s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1153s # goto out; 1153s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1153s # { 1153s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1153s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1153s # { 1153s # GVariant *value; 1153s # 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); 1153s # if (value != NULL) 1153s # { 1153s # g_variant_take_ref (value); 1153s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1153s # g_variant_unref (value); 1153s # } 1153s # } 1153s # } 1153s # out: 1153s # return g_variant_builder_end (&builder); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1153s # { 1153s # } 1153s # 1153s # static void 1153s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1153s # OrgProjectOtherSignalingIface *object) 1153s # { 1153s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1153s # 1153s # GList *connections, *l; 1153s # GVariant *signal_variant; 1153s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1153s # 1153s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1153s # for (l = connections; l != NULL; l = l->next) 1153s # { 1153s # GDBusConnection *connection = l->data; 1153s # g_dbus_connection_emit_signal (connection, 1153s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1153s # signal_variant, NULL); 1153s # } 1153s # g_variant_unref (signal_variant); 1153s # g_list_free_full (connections, g_object_unref); 1153s # } 1153s # 1153s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #else 1153s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1153s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1153s # 1153s # #endif 1153s # static void 1153s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1153s # { 1153s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1153s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1153s # if (skeleton->priv->changed_properties_idle_source != NULL) 1153s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1153s # g_main_context_unref (skeleton->priv->context); 1153s # g_mutex_clear (&skeleton->priv->lock); 1153s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1153s # { 1153s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1153s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1153s # #else 1153s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1153s # #endif 1153s # 1153s # g_mutex_init (&skeleton->priv->lock); 1153s # skeleton->priv->context = g_main_context_ref_thread_default (); 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1153s # { 1153s # GObjectClass *gobject_class; 1153s # GDBusInterfaceSkeletonClass *skeleton_class; 1153s # 1153s # gobject_class = G_OBJECT_CLASS (klass); 1153s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1153s # 1153s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1153s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1153s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1153s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1153s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1153s # 1153s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1153s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1153s # #endif 1153s # } 1153s # 1153s # static void 1153s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1153s # { 1153s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1153s # } 1153s # 1153s # /** 1153s # * org_project_other_signaling_iface_skeleton_new: 1153s # * 1153s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1153s # * 1153s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1153s # */ 1153s # OrgProjectOtherSignalingIface * 1153s # org_project_other_signaling_iface_skeleton_new (void) 1153s # { 1153s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1153s # } 1154s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1154s # tmpdir: /tmp/tmp3ycdradw 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmp3ycdradw/tmpox2c2ty2.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpox2c2ty2.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_b", 1154s # (gchar *) "b", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalB", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-b" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-b: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_b: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1154s # g_signal_new ("single-arg-signal-b", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_BOOLEAN); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_b: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_b: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalB" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_b ( 1154s # OrgProjectSignalingIface *object, 1154s # gboolean arg_arg_b) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1154s # OrgProjectSignalingIface *object, 1154s # gboolean arg_arg_b) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1154s # arg_arg_b)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmp6pi0ckgg.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmp6pi0ckgg.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_y", 1154s # (gchar *) "y", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalY", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-y" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__UCHAR (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-y: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_y: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1154s # g_signal_new ("single-arg-signal-y", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_UCHAR); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_y: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_y: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalY" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_y ( 1154s # OrgProjectSignalingIface *object, 1154s # guchar arg_arg_y) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1154s # OrgProjectSignalingIface *object, 1154s # guchar arg_arg_y) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1154s # arg_arg_y)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpdcuvwr8u.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpdcuvwr8u.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_n", 1154s # (gchar *) "n", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalN", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-n" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__INT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-n: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_n: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1154s # g_signal_new ("single-arg-signal-n", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_INT); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_n: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_n: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalN" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_n ( 1154s # OrgProjectSignalingIface *object, 1154s # gint16 arg_arg_n) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1154s # OrgProjectSignalingIface *object, 1154s # gint16 arg_arg_n) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1154s # arg_arg_n)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmppp4egr6p.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmppp4egr6p.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_q", 1154s # (gchar *) "q", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalQ", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-q" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__UINT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-q: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_q: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1154s # g_signal_new ("single-arg-signal-q", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_UINT); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_q: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_q: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalQ" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_q ( 1154s # OrgProjectSignalingIface *object, 1154s # guint16 arg_arg_q) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1154s # OrgProjectSignalingIface *object, 1154s # guint16 arg_arg_q) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1154s # arg_arg_q)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpa2qm_tcc.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpa2qm_tcc.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_i", 1154s # (gchar *) "i", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalI", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-i" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__INT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-i: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_i: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1154s # g_signal_new ("single-arg-signal-i", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_INT); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_i: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_i: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalI" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_i ( 1154s # OrgProjectSignalingIface *object, 1154s # gint arg_arg_i) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1154s # OrgProjectSignalingIface *object, 1154s # gint arg_arg_i) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1154s # arg_arg_i)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpj21ua7z8.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpj21ua7z8.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_u", 1154s # (gchar *) "u", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalU", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-u" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__UINT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-u: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_u: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1154s # g_signal_new ("single-arg-signal-u", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_UINT); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_u: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_u: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalU" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_u ( 1154s # OrgProjectSignalingIface *object, 1154s # guint arg_arg_u) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1154s # OrgProjectSignalingIface *object, 1154s # guint arg_arg_u) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1154s # arg_arg_u)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpjdkejnw1.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpjdkejnw1.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static void 1154s # _g_dbus_codegen_marshal_VOID__INT64 ( 1154s # GClosure *closure, 1154s # GValue *return_value G_GNUC_UNUSED, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint G_GNUC_UNUSED, 1154s # void *marshal_data) 1154s # { 1154s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1154s # (void *data1, 1154s # gint64 arg_arg_x, 1154s # void *data2); 1154s # _GDbusCodegenMarshalVoid_Int64Func callback; 1154s # GCClosure *cc = (GCClosure*) closure; 1154s # void *data1, *data2; 1154s # 1154s # g_return_if_fail (n_param_values == 2); 1154s # 1154s # if (G_CCLOSURE_SWAP_DATA (closure)) 1154s # { 1154s # data1 = closure->data; 1154s # data2 = g_value_peek_pointer (param_values + 0); 1154s # } 1154s # else 1154s # { 1154s # data1 = g_value_peek_pointer (param_values + 0); 1154s # data2 = closure->data; 1154s # } 1154s # 1154s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1154s # (marshal_data ? marshal_data : cc->callback); 1154s # 1154s # callback (data1, 1154s # g_marshal_value_peek_int64 (param_values + 1), 1154s # data2); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_x", 1154s # (gchar *) "x", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalX", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-x" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-x: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_x: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1154s # g_signal_new ("single-arg-signal-x", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_INT64); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_x: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_x: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalX" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_x ( 1154s # OrgProjectSignalingIface *object, 1154s # gint64 arg_arg_x) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1154s # OrgProjectSignalingIface *object, 1154s # gint64 arg_arg_x) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1154s # arg_arg_x)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpb4r12vsx.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpb4r12vsx.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static void 1154s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1154s # GClosure *closure, 1154s # GValue *return_value G_GNUC_UNUSED, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint G_GNUC_UNUSED, 1154s # void *marshal_data) 1154s # { 1154s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1154s # (void *data1, 1154s # guint64 arg_arg_t, 1154s # void *data2); 1154s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1154s # GCClosure *cc = (GCClosure*) closure; 1154s # void *data1, *data2; 1154s # 1154s # g_return_if_fail (n_param_values == 2); 1154s # 1154s # if (G_CCLOSURE_SWAP_DATA (closure)) 1154s # { 1154s # data1 = closure->data; 1154s # data2 = g_value_peek_pointer (param_values + 0); 1154s # } 1154s # else 1154s # { 1154s # data1 = g_value_peek_pointer (param_values + 0); 1154s # data2 = closure->data; 1154s # } 1154s # 1154s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1154s # (marshal_data ? marshal_data : cc->callback); 1154s # 1154s # callback (data1, 1154s # g_marshal_value_peek_uint64 (param_values + 1), 1154s # data2); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_t", 1154s # (gchar *) "t", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalT", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-t" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-t: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_t: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1154s # g_signal_new ("single-arg-signal-t", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_UINT64); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_t: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_t: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalT" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_t ( 1154s # OrgProjectSignalingIface *object, 1154s # guint64 arg_arg_t) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1154s # OrgProjectSignalingIface *object, 1154s # guint64 arg_arg_t) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1154s # arg_arg_t)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmprgy9_ixu.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmprgy9_ixu.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_d", 1154s # (gchar *) "d", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalD", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-d" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__DOUBLE (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-d: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_d: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1154s # g_signal_new ("single-arg-signal-d", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_DOUBLE); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_d: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_d: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalD" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_d ( 1154s # OrgProjectSignalingIface *object, 1154s # gdouble arg_arg_d) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1154s # OrgProjectSignalingIface *object, 1154s # gdouble arg_arg_d) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1154s # arg_arg_d)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpmv85ueyv.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpmv85ueyv.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_s", 1154s # (gchar *) "s", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalS", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-s" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__STRING (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-s: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_s: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1154s # g_signal_new ("single-arg-signal-s", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRING); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_s: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_s: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalS" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_s ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_s) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_s) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1154s # arg_arg_s)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpb7d_7tjc.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpb7d_7tjc.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_o", 1154s # (gchar *) "o", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalO", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-o" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__STRING (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-o: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_o: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1154s # g_signal_new ("single-arg-signal-o", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRING); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_o: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_o: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalO" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_o ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_o) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_o) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1154s # arg_arg_o)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmp_oct_x2g.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmp_oct_x2g.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_g", 1154s # (gchar *) "g", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalG", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-g" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__STRING (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-g: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_g: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1154s # g_signal_new ("single-arg-signal-g", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRING); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_g: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_g: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalG" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_g ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_g) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_g) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1154s # arg_arg_g)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpd895ti_3.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpd895ti_3.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_h", 1154s # (gchar *) "h", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalH", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-h" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VARIANT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-h: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_h: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1154s # g_signal_new ("single-arg-signal-h", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_VARIANT); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_h: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_h: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalH" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_h ( 1154s # OrgProjectSignalingIface *object, 1154s # GVariant *arg_arg_h) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1154s # OrgProjectSignalingIface *object, 1154s # GVariant *arg_arg_h) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1154s # arg_arg_h)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmp4fdw33b2.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmp4fdw33b2.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_ay", 1154s # (gchar *) "ay", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalAy", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-ay" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__STRING (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-ay: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_ay: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1154s # g_signal_new ("single-arg-signal-ay", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRING); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_ay: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalAy" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_ay) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *arg_arg_ay) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1154s # arg_arg_ay)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpxosr4lcm.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpxosr4lcm.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_as", 1154s # (gchar *) "as", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalAs", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-as" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__BOXED (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-as: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_as: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1154s # g_signal_new ("single-arg-signal-as", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRV); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_as: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_as: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalAs" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_as ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *const *arg_arg_as) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *const *arg_arg_as) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1154s # arg_arg_as)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmplmdqogyx.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmplmdqogyx.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_ao", 1154s # (gchar *) "ao", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalAo", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-ao" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__BOXED (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-ao: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_ao: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1154s # g_signal_new ("single-arg-signal-ao", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRV); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_ao: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalAo" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *const *arg_arg_ao) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *const *arg_arg_ao) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1154s # arg_arg_ao)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmphnp1nzf3.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmphnp1nzf3.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_aay", 1154s # (gchar *) "aay", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalAay", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-aay" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__BOXED (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-aay: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_aay: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1154s # g_signal_new ("single-arg-signal-aay", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_STRV); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_aay: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalAay" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *const *arg_arg_aay) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1154s # OrgProjectSignalingIface *object, 1154s # const gchar *const *arg_arg_aay) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1154s # arg_arg_aay)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s # /tmp/tmp3ycdradw/tmpkn_ij_gz.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ycdradw/tmpkn_ij_gz.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "arg_asv", 1154s # (gchar *) "a{sv}", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SingleArgSignalAsv", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "single-arg-signal-asv" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VARIANT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::single-arg-signal-asv: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_asv: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1154s # g_signal_new ("single-arg-signal-asv", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1154s # G_TYPE_NONE, 1154s # 1, G_TYPE_VARIANT); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_arg_asv: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1154s # OrgProjectSignalingIface *object, 1154s # GVariant *arg_arg_asv) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1154s # OrgProjectSignalingIface *object, 1154s # GVariant *arg_arg_asv) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1154s # arg_arg_asv)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1154s # tmpdir: /tmp/tmpnsj_v9yq 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpnsj_v9yq/tmptm4bz0se.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnsj_v9yq/tmptm4bz0se.xml', '--output', '-', '--body'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifdef HAVE_CONFIG_H 1154s # # include "config.h" 1154s # #endif 1154s # 1154s # #include 1154s # #ifdef G_OS_UNIX 1154s # # include 1154s # #endif 1154s # 1154s # #ifdef G_ENABLE_DEBUG 1154s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1154s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1154s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1154s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1154s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1154s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1154s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1154s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1154s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1154s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1154s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1154s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1154s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1154s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1154s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1154s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1154s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1154s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1154s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1154s # #else /* !G_ENABLE_DEBUG */ 1154s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1154s # * Do not access GValues directly in your code. Instead, use the 1154s # * g_value_get_*() functions 1154s # */ 1154s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1154s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1154s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1154s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1154s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1154s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1154s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1154s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1154s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1154s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1154s # #endif /* !G_ENABLE_DEBUG */ 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusArgInfo parent_struct; 1154s # gboolean use_gvariant; 1154s # } _ExtendedGDBusArgInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusMethodInfo parent_struct; 1154s # const gchar *signal_name; 1154s # gboolean pass_fdlist; 1154s # } _ExtendedGDBusMethodInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusSignalInfo parent_struct; 1154s # const gchar *signal_name; 1154s # } _ExtendedGDBusSignalInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusPropertyInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # guint use_gvariant : 1; 1154s # guint emits_changed_signal : 1; 1154s # } _ExtendedGDBusPropertyInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # GDBusInterfaceInfo parent_struct; 1154s # const gchar *hyphen_name; 1154s # } _ExtendedGDBusInterfaceInfo; 1154s # 1154s # typedef struct 1154s # { 1154s # const _ExtendedGDBusPropertyInfo *info; 1154s # guint prop_id; 1154s # GValue orig_value; /* the value before the change */ 1154s # } ChangedProperty; 1154s # 1154s # static void 1154s # _changed_property_free (ChangedProperty *data) 1154s # { 1154s # g_value_unset (&data->orig_value); 1154s # g_free (data); 1154s # } 1154s # 1154s # static gboolean 1154s # _g_strv_equal0 (gchar **a, gchar **b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # guint n; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # if (g_strv_length (a) != g_strv_length (b)) 1154s # goto out; 1154s # for (n = 0; a[n] != NULL; n++) 1154s # if (g_strcmp0 (a[n], b[n]) != 0) 1154s # goto out; 1154s # ret = TRUE; 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _g_variant_equal0 (GVariant *a, GVariant *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # if (a == NULL && b == NULL) 1154s # { 1154s # ret = TRUE; 1154s # goto out; 1154s # } 1154s # if (a == NULL || b == NULL) 1154s # goto out; 1154s # ret = g_variant_equal (a, b); 1154s # out: 1154s # return ret; 1154s # } 1154s # 1154s # G_GNUC_UNUSED static gboolean 1154s # _g_value_equal (const GValue *a, const GValue *b) 1154s # { 1154s # gboolean ret = FALSE; 1154s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1154s # switch (G_VALUE_TYPE (a)) 1154s # { 1154s # case G_TYPE_BOOLEAN: 1154s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1154s # break; 1154s # case G_TYPE_UCHAR: 1154s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1154s # break; 1154s # case G_TYPE_INT: 1154s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1154s # break; 1154s # case G_TYPE_UINT: 1154s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1154s # break; 1154s # case G_TYPE_INT64: 1154s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1154s # break; 1154s # case G_TYPE_UINT64: 1154s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1154s # break; 1154s # case G_TYPE_DOUBLE: 1154s # { 1154s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1154s # gdouble da = g_value_get_double (a); 1154s # gdouble db = g_value_get_double (b); 1154s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1154s # } 1154s # break; 1154s # case G_TYPE_STRING: 1154s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1154s # break; 1154s # case G_TYPE_VARIANT: 1154s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1154s # break; 1154s # default: 1154s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1154s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1154s # else 1154s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1154s # break; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static void 1154s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1154s # GClosure *closure, 1154s # GValue *return_value G_GNUC_UNUSED, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint G_GNUC_UNUSED, 1154s # void *marshal_data) 1154s # { 1154s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1154s # (void *data1, 1154s # gboolean arg_an_b, 1154s # guchar arg_an_y, 1154s # gint16 arg_an_n, 1154s # guint16 arg_an_q, 1154s # gint arg_an_i, 1154s # guint arg_an_u, 1154s # gint64 arg_an_x, 1154s # guint64 arg_an_t, 1154s # gdouble arg_an_d, 1154s # const gchar *arg_an_s, 1154s # const gchar *arg_an_o, 1154s # const gchar *arg_an_g, 1154s # GVariant *arg_an_h, 1154s # const gchar *arg_an_ay, 1154s # const gchar *const *arg_an_as, 1154s # const gchar *const *arg_an_ao, 1154s # const gchar *const *arg_an_aay, 1154s # GVariant *arg_an_asv, 1154s # void *data2); 1154s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1154s # GCClosure *cc = (GCClosure*) closure; 1154s # void *data1, *data2; 1154s # 1154s # g_return_if_fail (n_param_values == 19); 1154s # 1154s # if (G_CCLOSURE_SWAP_DATA (closure)) 1154s # { 1154s # data1 = closure->data; 1154s # data2 = g_value_peek_pointer (param_values + 0); 1154s # } 1154s # else 1154s # { 1154s # data1 = g_value_peek_pointer (param_values + 0); 1154s # data2 = closure->data; 1154s # } 1154s # 1154s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1154s # (marshal_data ? marshal_data : cc->callback); 1154s # 1154s # callback (data1, 1154s # g_marshal_value_peek_boolean (param_values + 1), 1154s # g_marshal_value_peek_uchar (param_values + 2), 1154s # g_marshal_value_peek_int (param_values + 3), 1154s # g_marshal_value_peek_uint (param_values + 4), 1154s # g_marshal_value_peek_int (param_values + 5), 1154s # g_marshal_value_peek_uint (param_values + 6), 1154s # g_marshal_value_peek_int64 (param_values + 7), 1154s # g_marshal_value_peek_uint64 (param_values + 8), 1154s # g_marshal_value_peek_double (param_values + 9), 1154s # g_marshal_value_peek_string (param_values + 10), 1154s # g_marshal_value_peek_string (param_values + 11), 1154s # g_marshal_value_peek_string (param_values + 12), 1154s # g_marshal_value_peek_variant (param_values + 13), 1154s # g_marshal_value_peek_string (param_values + 14), 1154s # g_marshal_value_peek_boxed (param_values + 15), 1154s # g_marshal_value_peek_boxed (param_values + 16), 1154s # g_marshal_value_peek_boxed (param_values + 17), 1154s # g_marshal_value_peek_variant (param_values + 18), 1154s # data2); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ 1154s # * Code for interface org.project.SignalingIface 1154s # * ------------------------------------------------------------------------ 1154s # */ 1154s # 1154s # /** 1154s # * SECTION:OrgProjectSignalingIface 1154s # * @title: OrgProjectSignalingIface 1154s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1154s # * 1154s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1154s # */ 1154s # 1154s # enum 1154s # { 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1154s # }; 1154s # 1154s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1154s # 1154s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SimpleSignal", 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "simple-signal" 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_b", 1154s # (gchar *) "b", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_y", 1154s # (gchar *) "y", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_n", 1154s # (gchar *) "n", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_q", 1154s # (gchar *) "q", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_i", 1154s # (gchar *) "i", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_u", 1154s # (gchar *) "u", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_x", 1154s # (gchar *) "x", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_t", 1154s # (gchar *) "t", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_d", 1154s # (gchar *) "d", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_s", 1154s # (gchar *) "s", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_o", 1154s # (gchar *) "o", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_g", 1154s # (gchar *) "g", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_h", 1154s # (gchar *) "h", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_ay", 1154s # (gchar *) "ay", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_as", 1154s # (gchar *) "as", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_ao", 1154s # (gchar *) "ao", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_aay", 1154s # (gchar *) "aay", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "an_asv", 1154s # (gchar *) "a{sv}", 1154s # NULL 1154s # }, 1154s # FALSE 1154s # }; 1154s # 1154s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "SignalWithManyArgs", 1154s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1154s # NULL 1154s # }, 1154s # "signal-with-many-args" 1154s # }; 1154s # 1154s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1154s # { 1154s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1154s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1154s # NULL 1154s # }; 1154s # 1154s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1154s # { 1154s # { 1154s # -1, 1154s # (gchar *) "org.project.SignalingIface", 1154s # NULL, 1154s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1154s # NULL, 1154s # NULL 1154s # }, 1154s # "org-project-signaling-iface", 1154s # }; 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_interface_info: 1154s # * 1154s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1154s # * 1154s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1154s # */ 1154s # GDBusInterfaceInfo * 1154s # org_project_signaling_iface_interface_info (void) 1154s # { 1154s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_override_properties: 1154s # * @klass: The class structure for a #GObject derived class. 1154s # * @property_id_begin: The property id to assign to the first overridden property. 1154s # * 1154s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1154s # * The properties are overridden in the order they are defined. 1154s # * 1154s # * Returns: The last property id. 1154s # */ 1154s # guint 1154s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1154s # { 1154s # return property_id_begin - 1; 1154s # } 1154s # 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_simple_signal ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # g_cclosure_marshal_VOID__VOID (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # inline static void 1154s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1154s # GClosure *closure, 1154s # GValue *return_value, 1154s # unsigned int n_param_values, 1154s # const GValue *param_values, 1154s # void *invocation_hint, 1154s # void *marshal_data) 1154s # { 1154s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1154s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1154s # } 1154s # 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface: 1154s # * 1154s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceIface: 1154s # * @parent_iface: The parent interface. 1154s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1154s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1154s # * 1154s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1154s # */ 1154s # 1154s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1154s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1154s # 1154s # static void 1154s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # /* GObject signals for received D-Bus signals: */ 1154s # /** 1154s # * OrgProjectSignalingIface::simple-signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1154s # g_signal_new ("simple-signal", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_simple_signal, 1154s # G_TYPE_NONE, 1154s # 0); 1154s # 1154s # /** 1154s # * OrgProjectSignalingIface::signal-with-many-args: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_an_b: Argument. 1154s # * @arg_an_y: Argument. 1154s # * @arg_an_n: Argument. 1154s # * @arg_an_q: Argument. 1154s # * @arg_an_i: Argument. 1154s # * @arg_an_u: Argument. 1154s # * @arg_an_x: Argument. 1154s # * @arg_an_t: Argument. 1154s # * @arg_an_d: Argument. 1154s # * @arg_an_s: Argument. 1154s # * @arg_an_o: Argument. 1154s # * @arg_an_g: Argument. 1154s # * @arg_an_h: Argument. 1154s # * @arg_an_ay: Argument. 1154s # * @arg_an_as: Argument. 1154s # * @arg_an_ao: Argument. 1154s # * @arg_an_aay: Argument. 1154s # * @arg_an_asv: Argument. 1154s # * 1154s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1154s # * 1154s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1154s # */ 1154s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1154s # g_signal_new ("signal-with-many-args", 1154s # G_TYPE_FROM_INTERFACE (iface), 1154s # G_SIGNAL_RUN_LAST, 1154s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1154s # NULL, 1154s # NULL, 1154s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1154s # G_TYPE_NONE, 1154s # 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); 1154s # 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_simple_signal: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * 1154s # * Emits the "SimpleSignal" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_emit_signal_with_many_args: 1154s # * @object: A #OrgProjectSignalingIface. 1154s # * @arg_an_b: Argument to pass with the signal. 1154s # * @arg_an_y: Argument to pass with the signal. 1154s # * @arg_an_n: Argument to pass with the signal. 1154s # * @arg_an_q: Argument to pass with the signal. 1154s # * @arg_an_i: Argument to pass with the signal. 1154s # * @arg_an_u: Argument to pass with the signal. 1154s # * @arg_an_x: Argument to pass with the signal. 1154s # * @arg_an_t: Argument to pass with the signal. 1154s # * @arg_an_d: Argument to pass with the signal. 1154s # * @arg_an_s: Argument to pass with the signal. 1154s # * @arg_an_o: Argument to pass with the signal. 1154s # * @arg_an_g: Argument to pass with the signal. 1154s # * @arg_an_h: Argument to pass with the signal. 1154s # * @arg_an_ay: Argument to pass with the signal. 1154s # * @arg_an_as: Argument to pass with the signal. 1154s # * @arg_an_ao: Argument to pass with the signal. 1154s # * @arg_an_aay: Argument to pass with the signal. 1154s # * @arg_an_asv: Argument to pass with the signal. 1154s # * 1154s # * Emits the "SignalWithManyArgs" D-Bus signal. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_emit_signal_with_many_args ( 1154s # OrgProjectSignalingIface *object, 1154s # gboolean arg_an_b, 1154s # guchar arg_an_y, 1154s # gint16 arg_an_n, 1154s # guint16 arg_an_q, 1154s # gint arg_an_i, 1154s # guint arg_an_u, 1154s # gint64 arg_an_x, 1154s # guint64 arg_an_t, 1154s # gdouble arg_an_d, 1154s # const gchar *arg_an_s, 1154s # const gchar *arg_an_o, 1154s # const gchar *arg_an_g, 1154s # GVariant *arg_an_h, 1154s # const gchar *arg_an_ay, 1154s # const gchar *const *arg_an_as, 1154s # const gchar *const *arg_an_ao, 1154s # const gchar *const *arg_an_aay, 1154s # GVariant *arg_an_asv) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxy: 1154s # * 1154s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceProxyClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceProxy. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceProxyPrivate 1154s # { 1154s # GData *qdata; 1154s # }; 1154s # 1154s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_proxy_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1154s # g_datalist_clear (&proxy->priv->qdata); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1154s # guint prop_id G_GNUC_UNUSED, 1154s # const GValue *value G_GNUC_UNUSED, 1154s # GParamSpec *pspec G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1154s # const gchar *sender_name G_GNUC_UNUSED, 1154s # const gchar *signal_name, 1154s # GVariant *parameters) 1154s # { 1154s # _ExtendedGDBusSignalInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # gsize n; 1154s # guint signal_id; 1154s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1154s # if (info == NULL) 1154s # return; 1154s # num_params = g_variant_n_children (parameters); 1154s # paramv = g_new0 (GValue, num_params + 1); 1154s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[0], proxy); 1154s # g_variant_iter_init (&iter, parameters); 1154s # n = 1; 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_signal_emitv (paramv, signal_id, 0, NULL); 1154s # for (n = 0; n < num_params + 1; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1154s # GVariant *changed_properties, 1154s # const gchar *const *invalidated_properties) 1154s # { 1154s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1154s # guint n; 1154s # const gchar *key; 1154s # GVariantIter *iter; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # g_variant_get (changed_properties, "a{sv}", &iter); 1154s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1154s # g_datalist_remove_data (&proxy->priv->qdata, key); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # g_variant_iter_free (iter); 1154s # for (n = 0; invalidated_properties[n] != NULL; n++) 1154s # { 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1154s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1154s # if (info != NULL) 1154s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1154s # } 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1154s # #else 1154s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1154s # #endif 1154s # 1154s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusProxyClass *proxy_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1154s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1154s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1154s # 1154s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1154s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1154s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_sync: 1154s # * @connection: A #GDBusConnection. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_sync ( 1154s # GDBusConnection *connection, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1154s # * @user_data: User data to pass to @callback. 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1154s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1154s # */ 1154s # void 1154s # org_project_signaling_iface_proxy_new_for_bus ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GAsyncReadyCallback callback, 1154s # gpointer user_data) 1154s # { 1154s # 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); 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1154s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1154s # GAsyncResult *res, 1154s # GError **error) 1154s # { 1154s # GObject *ret; 1154s # GObject *source_object; 1154s # source_object = g_async_result_get_source_object (res); 1154s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1154s # g_object_unref (source_object); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1154s # * @bus_type: A #GBusType. 1154s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1154s # * @name: A bus name (well-known or unique). 1154s # * @object_path: An object path. 1154s # * @cancellable: (nullable): A #GCancellable or %NULL. 1154s # * @error: Return location for error or %NULL 1154s # * 1154s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1154s # * 1154s # * The calling thread is blocked until a reply is received. 1154s # * 1154s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1154s # GBusType bus_type, 1154s # GDBusProxyFlags flags, 1154s # const gchar *name, 1154s # const gchar *object_path, 1154s # GCancellable *cancellable, 1154s # GError **error) 1154s # { 1154s # GInitable *ret; 1154s # 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); 1154s # if (ret != NULL) 1154s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1154s # else 1154s # return NULL; 1154s # } 1154s # 1154s # 1154s # /* ------------------------------------------------------------------------ */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeleton: 1154s # * 1154s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1154s # */ 1154s # 1154s # /** 1154s # * OrgProjectSignalingIfaceSkeletonClass: 1154s # * @parent_class: The parent class. 1154s # * 1154s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1154s # */ 1154s # 1154s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1154s # { 1154s # GValue *properties; 1154s # GList *changed_properties; 1154s # GSource *changed_properties_idle_source; 1154s # GMainContext *context; 1154s # GMutex lock; 1154s # }; 1154s # 1154s # static void 1154s # _org_project_signaling_iface_skeleton_handle_method_call ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name, 1154s # const gchar *method_name, 1154s # GVariant *parameters, 1154s # GDBusMethodInvocation *invocation, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # _ExtendedGDBusMethodInfo *info; 1154s # GVariantIter iter; 1154s # GVariant *child; 1154s # GValue *paramv; 1154s # gsize num_params; 1154s # guint num_extra; 1154s # gsize n; 1154s # guint signal_id; 1154s # GValue return_value = G_VALUE_INIT; 1154s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1154s # g_assert (info != NULL); 1154s # num_params = g_variant_n_children (parameters); 1154s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1154s # n = 0; 1154s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_set_object (¶mv[n++], skeleton); 1154s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1154s # g_value_set_object (¶mv[n++], invocation); 1154s # if (info->pass_fdlist) 1154s # { 1154s # #ifdef G_OS_UNIX 1154s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1154s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1154s # #else 1154s # g_assert_not_reached (); 1154s # #endif 1154s # } 1154s # g_variant_iter_init (&iter, parameters); 1154s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1154s # { 1154s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1154s # if (arg_info->use_gvariant) 1154s # { 1154s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1154s # g_value_set_variant (¶mv[n], child); 1154s # n++; 1154s # } 1154s # else 1154s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1154s # g_variant_unref (child); 1154s # } 1154s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1154s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1154s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1154s # if (!g_value_get_boolean (&return_value)) 1154s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1154s # g_value_unset (&return_value); 1154s # for (n = 0; n < num_params + num_extra; n++) 1154s # g_value_unset (¶mv[n]); 1154s # g_free (paramv); 1154s # } 1154s # 1154s # static GVariant * 1154s # _org_project_signaling_iface_skeleton_handle_get_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # GVariant *ret; 1154s # ret = NULL; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # g_value_init (&value, pspec->value_type); 1154s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1154s # g_value_unset (&value); 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static gboolean 1154s # _org_project_signaling_iface_skeleton_handle_set_property ( 1154s # GDBusConnection *connection G_GNUC_UNUSED, 1154s # const gchar *sender G_GNUC_UNUSED, 1154s # const gchar *object_path G_GNUC_UNUSED, 1154s # const gchar *interface_name G_GNUC_UNUSED, 1154s # const gchar *property_name, 1154s # GVariant *variant, 1154s # GError **error, 1154s # gpointer user_data) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1154s # GValue value = G_VALUE_INIT; 1154s # GParamSpec *pspec; 1154s # _ExtendedGDBusPropertyInfo *info; 1154s # gboolean ret; 1154s # ret = FALSE; 1154s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1154s # g_assert (info != NULL); 1154s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1154s # if (pspec == NULL) 1154s # { 1154s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1154s # } 1154s # else 1154s # { 1154s # if (info->use_gvariant) 1154s # g_value_set_variant (&value, variant); 1154s # else 1154s # g_dbus_gvariant_to_gvalue (variant, &value); 1154s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1154s # g_value_unset (&value); 1154s # ret = TRUE; 1154s # } 1154s # return ret; 1154s # } 1154s # 1154s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1154s # { 1154s # _org_project_signaling_iface_skeleton_handle_method_call, 1154s # _org_project_signaling_iface_skeleton_handle_get_property, 1154s # _org_project_signaling_iface_skeleton_handle_set_property, 1154s # {NULL} 1154s # }; 1154s # 1154s # static GDBusInterfaceInfo * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return org_project_signaling_iface_interface_info (); 1154s # } 1154s # 1154s # static GDBusInterfaceVTable * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1154s # { 1154s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1154s # } 1154s # 1154s # static GVariant * 1154s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1154s # 1154s # GVariantBuilder builder; 1154s # guint n; 1154s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1154s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1154s # goto out; 1154s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1154s # { 1154s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1154s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1154s # { 1154s # GVariant *value; 1154s # 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); 1154s # if (value != NULL) 1154s # { 1154s # g_variant_take_ref (value); 1154s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1154s # g_variant_unref (value); 1154s # } 1154s # } 1154s # } 1154s # out: 1154s # return g_variant_builder_end (&builder); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1154s # { 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_simple_signal ( 1154s # OrgProjectSignalingIface *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void 1154s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1154s # OrgProjectSignalingIface *object, 1154s # gboolean arg_an_b, 1154s # guchar arg_an_y, 1154s # gint16 arg_an_n, 1154s # guint16 arg_an_q, 1154s # gint arg_an_i, 1154s # guint arg_an_u, 1154s # gint64 arg_an_x, 1154s # guint64 arg_an_t, 1154s # gdouble arg_an_d, 1154s # const gchar *arg_an_s, 1154s # const gchar *arg_an_o, 1154s # const gchar *arg_an_g, 1154s # GVariant *arg_an_h, 1154s # const gchar *arg_an_ay, 1154s # const gchar *const *arg_an_as, 1154s # const gchar *const *arg_an_ao, 1154s # const gchar *const *arg_an_aay, 1154s # GVariant *arg_an_asv) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # 1154s # GList *connections, *l; 1154s # GVariant *signal_variant; 1154s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1154s # 1154s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1154s # arg_an_b, 1154s # arg_an_y, 1154s # arg_an_n, 1154s # arg_an_q, 1154s # arg_an_i, 1154s # arg_an_u, 1154s # arg_an_x, 1154s # arg_an_t, 1154s # arg_an_d, 1154s # arg_an_s, 1154s # arg_an_o, 1154s # arg_an_g, 1154s # arg_an_h, 1154s # arg_an_ay, 1154s # arg_an_as, 1154s # arg_an_ao, 1154s # arg_an_aay, 1154s # arg_an_asv)); 1154s # for (l = connections; l != NULL; l = l->next) 1154s # { 1154s # GDBusConnection *connection = l->data; 1154s # g_dbus_connection_emit_signal (connection, 1154s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1154s # signal_variant, NULL); 1154s # } 1154s # g_variant_unref (signal_variant); 1154s # g_list_free_full (connections, g_object_unref); 1154s # } 1154s # 1154s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #else 1154s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1154s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1154s # 1154s # #endif 1154s # static void 1154s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1154s # { 1154s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1154s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1154s # if (skeleton->priv->changed_properties_idle_source != NULL) 1154s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1154s # g_main_context_unref (skeleton->priv->context); 1154s # g_mutex_clear (&skeleton->priv->lock); 1154s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1154s # { 1154s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1154s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1154s # #else 1154s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1154s # #endif 1154s # 1154s # g_mutex_init (&skeleton->priv->lock); 1154s # skeleton->priv->context = g_main_context_ref_thread_default (); 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1154s # { 1154s # GObjectClass *gobject_class; 1154s # GDBusInterfaceSkeletonClass *skeleton_class; 1154s # 1154s # gobject_class = G_OBJECT_CLASS (klass); 1154s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1154s # 1154s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1154s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1154s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1154s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1154s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1154s # 1154s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1154s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1154s # #endif 1154s # } 1154s # 1154s # static void 1154s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1154s # { 1154s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1154s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1154s # } 1154s # 1154s # /** 1154s # * org_project_signaling_iface_skeleton_new: 1154s # * 1154s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1154s # * 1154s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1154s # */ 1154s # OrgProjectSignalingIface * 1154s # org_project_signaling_iface_skeleton_new (void) 1154s # { 1154s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1154s # } 1154s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1154s # tmpdir: /tmp/tmpb4d4eys5 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpb4d4eys5/tmpoj0963j9.xml: 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4d4eys5/tmpoj0963j9.xml', '--generate-docbook', 'test'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: 1154s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1154s # tmpdir: /tmp/tmpyrr43i1f 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpyrr43i1f/tmptbmqjmcx.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyrr43i1f/tmptbmqjmcx.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1154s # tmpdir: /tmp/tmpwtcvi9kk 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpwtcvi9kk/tmppe068bbf.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwtcvi9kk/tmppe068bbf.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifndef __STDOUT__ 1154s # #define __STDOUT__ 1154s # 1154s # #include 1154s # 1154s # G_BEGIN_DECLS 1154s # 1154s # 1154s # G_END_DECLS 1154s # 1154s # #endif /* __STDOUT__ */ 1154s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1154s # tmpdir: /tmp/tmpar3fyt99 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpar3fyt99/tmpwetw2wj2.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpar3fyt99/tmpwetw2wj2.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1154s # tmpdir: /tmp/tmp56r7nrji 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmp56r7nrji/tmptfl2qrlh.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp56r7nrji/tmptfl2qrlh.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifndef __STDOUT__ 1154s # #define __STDOUT__ 1154s # 1154s # #include 1154s # 1154s # G_BEGIN_DECLS 1154s # 1154s # 1154s # G_END_DECLS 1154s # 1154s # #endif /* __STDOUT__ */ 1154s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1154s # tmpdir: /tmp/tmp5x6ei_3q 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmp5x6ei_3q/tmpd_aso7x9.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5x6ei_3q/tmpd_aso7x9.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifndef __STDOUT__ 1154s # #define __STDOUT__ 1154s # 1154s # #include 1154s # 1154s # G_BEGIN_DECLS 1154s # 1154s # 1154s # G_END_DECLS 1154s # 1154s # #endif /* __STDOUT__ */ 1154s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1154s # tmpdir: /tmp/tmpjcr78pxs 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpjcr78pxs/tmp2yp46x9p.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjcr78pxs/tmp2yp46x9p.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1154s # tmpdir: /tmp/tmpsclfvfs9 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpsclfvfs9/tmplgu5khzz.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsclfvfs9/tmplgu5khzz.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifndef __STDOUT__ 1154s # #define __STDOUT__ 1154s # 1154s # #include 1154s # 1154s # G_BEGIN_DECLS 1154s # 1154s # 1154s # G_END_DECLS 1154s # 1154s # #endif /* __STDOUT__ */ 1154s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1154s # tmpdir: /tmp/tmpir9aud70 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmpir9aud70/tmpn0mzt331.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpir9aud70/tmpn0mzt331.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1154s # tmpdir: /tmp/tmp8w9gtdgs 1154s # codegen: /usr/bin/gdbus-codegen 1154s # /tmp/tmp8w9gtdgs/tmpphxjnfri.xml: 1154s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8w9gtdgs/tmpphxjnfri.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: /* 1154s # * This file is generated by gdbus-codegen, do not modify it. 1154s # * 1154s # * The license of this code is the same as for the D-Bus interface description 1154s # * it was derived from. Note that it links to GLib, so must comply with the 1154s # * LGPL linking clauses. 1154s # */ 1154s # 1154s # #ifndef __STDOUT__ 1154s # #define __STDOUT__ 1154s # 1154s # #include 1154s # 1154s # G_BEGIN_DECLS 1154s # 1154s # 1154s # G_END_DECLS 1154s # 1154s # #endif /* __STDOUT__ */ 1154s ok 35 __main__.TestCodegen.test_help 1154s # tmpdir: /tmp/tmpg2oby5c8 1154s # codegen: /usr/bin/gdbus-codegen 1154s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1154s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1154s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1154s # [--c-generate-autocleanup {none,objects,all}] 1154s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1154s # [--generate-rst OUTFILES] [--pragma-once] 1154s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1154s # [--glib-min-required VERSION] 1154s # [--glib-max-allowed VERSION] 1154s # [--symbol-decorator SYMBOL_DECORATOR] 1154s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1154s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1154s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1154s # [--output FILE | --output-directory OUTDIR] 1154s # FILE [FILE ...] 1154s # 1154s # D-Bus code and documentation generator 1154s # 1154s # positional arguments: 1154s # FILE D-Bus introspection XML file 1154s # 1154s # options: 1154s # -h, --help show this help message and exit 1154s # --interface-prefix PREFIX 1154s # String to strip from D-Bus interface names for code 1154s # and docs 1154s # --c-namespace NAMESPACE 1154s # The namespace to use for generated C code 1154s # --c-generate-object-manager 1154s # Generate a GDBusObjectManagerClient subclass when 1154s # generating C code 1154s # --c-generate-autocleanup {none,objects,all} 1154s # Generate autocleanup support 1154s # --generate-docbook OUTFILES 1154s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1154s # --generate-md OUTFILES 1154s # Generate Markdown in OUTFILES-org.Project.IFace.md 1154s # --generate-rst OUTFILES 1154s # Generate reStructuredText in OUTFILES- 1154s # org.Project.IFace.rst 1154s # --pragma-once Use "pragma once" as the inclusion guard 1154s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1154s # Add annotation (may be used several times) 1154s # --glib-min-required VERSION 1154s # Minimum version of GLib to be supported by the 1154s # outputted code (default: 2.30) 1154s # --glib-max-allowed VERSION 1154s # Maximum version of GLib to be used by the outputted 1154s # code (default: current GLib version) 1154s # --symbol-decorator SYMBOL_DECORATOR 1154s # Macro used to decorate a symbol in the outputted 1154s # header, possibly to export symbols 1154s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1154s # Additional header required for decorator specified by 1154s # --symbol-decorator 1154s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1154s # Additional define required for decorator specified by 1154s # --symbol-decorator 1154s # --generate-c-code OUTFILES 1154s # Generate C code in OUTFILES.[ch] 1154s # --header Generate C headers 1154s # --body Generate C code 1154s # --interface-info-header 1154s # Generate GDBusInterfaceInfo C header 1154s # --interface-info-body 1154s # Generate GDBusInterfaceInfo C code 1154s # --output FILE Write output into the specified file 1154s # --output-directory OUTDIR 1154s # Location to output generated files 1155s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1155s # tmpdir: /tmp/tmp2o2i2pqh 1155s # codegen: /usr/bin/gdbus-codegen 1155s # /tmp/tmp2o2i2pqh/tmpkix7woy2.xml: 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2o2i2pqh/tmpkix7woy2.xml', '--generate-rst', 'test'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: 1155s # /tmp/tmp2o2i2pqh/tmpqxbg7zwx.xml: 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2o2i2pqh/tmpqxbg7zwx.xml', '--generate-md', 'test'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: 1155s # /tmp/tmp2o2i2pqh/tmp3f639z5v.xml: 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2o2i2pqh/tmp3f639z5v.xml', '--generate-docbook', 'test'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: 1155s ok 37 __main__.TestCodegen.test_no_args 1155s # tmpdir: /tmp/tmpp2l55wb5 1155s # codegen: /usr/bin/gdbus-codegen 1155s # Running: ['/usr/bin/gdbus-codegen'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s ok 38 __main__.TestCodegen.test_reproducible 1155s # tmpdir: /tmp/tmpek8lhaeb 1155s # codegen: /usr/bin/gdbus-codegen 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpek8lhaeb/tmpolo94rd_1.xml', '/tmp/tmpek8lhaeb/tmphnlg2_m12.xml', '--output', '-', '--header'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifndef __STDOUT__ 1155s # #define __STDOUT__ 1155s # 1155s # #include 1155s # 1155s # G_BEGIN_DECLS 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for org.project.Bar.Frobnicator */ 1155s # 1155s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1155s # 1155s # struct _OrgProjectBarFrobnicator; 1155s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1155s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1155s # 1155s # struct _OrgProjectBarFrobnicatorIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # gboolean (*handle_random_method) ( 1155s # OrgProjectBarFrobnicator *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # }; 1155s # 1155s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1155s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void org_project_bar_frobnicator_complete_random_method ( 1155s # OrgProjectBarFrobnicator *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void org_project_bar_frobnicator_call_random_method ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1155s # 1155s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1155s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1155s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1155s # 1155s # struct _OrgProjectBarFrobnicatorProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _OrgProjectBarFrobnicatorProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void org_project_bar_frobnicator_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1155s # 1155s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1155s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1155s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1155s # 1155s # struct _OrgProjectBarFrobnicatorSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _OrgProjectBarFrobnicatorSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for com.acme.Coyote */ 1155s # 1155s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1155s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1155s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1155s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1155s # 1155s # struct _ComAcmeCoyote; 1155s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1155s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1155s # 1155s # struct _ComAcmeCoyoteIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # 1155s # 1155s # gboolean (*handle_attack) ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # gboolean (*handle_run) ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # gboolean (*handle_sleep) ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1155s # 1155s # void (*surprised) ( 1155s # ComAcmeCoyote *object); 1155s # 1155s # }; 1155s # 1155s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1155s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void com_acme_coyote_complete_run ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # void com_acme_coyote_complete_sleep ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # void com_acme_coyote_complete_attack ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # 1155s # 1155s # /* D-Bus signal emissions functions: */ 1155s # void com_acme_coyote_emit_surprised ( 1155s # ComAcmeCoyote *object); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void com_acme_coyote_call_run ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean com_acme_coyote_call_run_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean com_acme_coyote_call_run_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void com_acme_coyote_call_sleep ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean com_acme_coyote_call_sleep_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean com_acme_coyote_call_sleep_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void com_acme_coyote_call_attack ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean com_acme_coyote_call_attack_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean com_acme_coyote_call_attack_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* D-Bus property accessors: */ 1155s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1155s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1155s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1155s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1155s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1155s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1155s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1155s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1155s # 1155s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1155s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1155s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1155s # 1155s # struct _ComAcmeCoyoteProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # ComAcmeCoyoteProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _ComAcmeCoyoteProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void com_acme_coyote_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void com_acme_coyote_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1155s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1155s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1155s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1155s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1155s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1155s # 1155s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1155s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1155s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1155s # 1155s # struct _ComAcmeCoyoteSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # ComAcmeCoyoteSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _ComAcmeCoyoteSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1155s # 1155s # 1155s # G_END_DECLS 1155s # 1155s # #endif /* __STDOUT__ */ 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpek8lhaeb/tmphnlg2_m12.xml', '/tmp/tmpek8lhaeb/tmpolo94rd_1.xml', '--output', '-', '--header'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifndef __STDOUT__ 1155s # #define __STDOUT__ 1155s # 1155s # #include 1155s # 1155s # G_BEGIN_DECLS 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for org.project.Bar.Frobnicator */ 1155s # 1155s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1155s # 1155s # struct _OrgProjectBarFrobnicator; 1155s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1155s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1155s # 1155s # struct _OrgProjectBarFrobnicatorIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # gboolean (*handle_random_method) ( 1155s # OrgProjectBarFrobnicator *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # }; 1155s # 1155s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1155s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void org_project_bar_frobnicator_complete_random_method ( 1155s # OrgProjectBarFrobnicator *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void org_project_bar_frobnicator_call_random_method ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1155s # 1155s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1155s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1155s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1155s # 1155s # struct _OrgProjectBarFrobnicatorProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _OrgProjectBarFrobnicatorProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void org_project_bar_frobnicator_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1155s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1155s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1155s # 1155s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1155s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1155s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1155s # 1155s # struct _OrgProjectBarFrobnicatorSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _OrgProjectBarFrobnicatorSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for com.acme.Coyote */ 1155s # 1155s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1155s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1155s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1155s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1155s # 1155s # struct _ComAcmeCoyote; 1155s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1155s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1155s # 1155s # struct _ComAcmeCoyoteIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # 1155s # 1155s # gboolean (*handle_attack) ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # gboolean (*handle_run) ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # gboolean (*handle_sleep) ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1155s # 1155s # void (*surprised) ( 1155s # ComAcmeCoyote *object); 1155s # 1155s # }; 1155s # 1155s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1155s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void com_acme_coyote_complete_run ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # void com_acme_coyote_complete_sleep ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # void com_acme_coyote_complete_attack ( 1155s # ComAcmeCoyote *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # 1155s # 1155s # /* D-Bus signal emissions functions: */ 1155s # void com_acme_coyote_emit_surprised ( 1155s # ComAcmeCoyote *object); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void com_acme_coyote_call_run ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean com_acme_coyote_call_run_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean com_acme_coyote_call_run_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void com_acme_coyote_call_sleep ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean com_acme_coyote_call_sleep_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean com_acme_coyote_call_sleep_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void com_acme_coyote_call_attack ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean com_acme_coyote_call_attack_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean com_acme_coyote_call_attack_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* D-Bus property accessors: */ 1155s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1155s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1155s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1155s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1155s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1155s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1155s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1155s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1155s # 1155s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1155s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1155s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1155s # 1155s # struct _ComAcmeCoyoteProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # ComAcmeCoyoteProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _ComAcmeCoyoteProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void com_acme_coyote_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void com_acme_coyote_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1155s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1155s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1155s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1155s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1155s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1155s # 1155s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1155s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1155s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1155s # 1155s # struct _ComAcmeCoyoteSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # ComAcmeCoyoteSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _ComAcmeCoyoteSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1155s # 1155s # 1155s # G_END_DECLS 1155s # 1155s # #endif /* __STDOUT__ */ 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpek8lhaeb/tmpolo94rd_1.xml', '/tmp/tmpek8lhaeb/tmphnlg2_m12.xml', '--output', '-', '--body'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifdef HAVE_CONFIG_H 1155s # # include "config.h" 1155s # #endif 1155s # 1155s # #include 1155s # #ifdef G_OS_UNIX 1155s # # include 1155s # #endif 1155s # 1155s # #ifdef G_ENABLE_DEBUG 1155s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1155s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1155s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1155s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1155s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1155s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1155s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1155s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1155s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1155s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1155s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1155s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1155s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1155s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1155s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1155s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1155s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1155s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1155s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1155s # #else /* !G_ENABLE_DEBUG */ 1155s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1155s # * Do not access GValues directly in your code. Instead, use the 1155s # * g_value_get_*() functions 1155s # */ 1155s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1155s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1155s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1155s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1155s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1155s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1155s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1155s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1155s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1155s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1155s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1155s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1155s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1155s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1155s # #endif /* !G_ENABLE_DEBUG */ 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusArgInfo parent_struct; 1155s # gboolean use_gvariant; 1155s # } _ExtendedGDBusArgInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusMethodInfo parent_struct; 1155s # const gchar *signal_name; 1155s # gboolean pass_fdlist; 1155s # } _ExtendedGDBusMethodInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusSignalInfo parent_struct; 1155s # const gchar *signal_name; 1155s # } _ExtendedGDBusSignalInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusPropertyInfo parent_struct; 1155s # const gchar *hyphen_name; 1155s # guint use_gvariant : 1; 1155s # guint emits_changed_signal : 1; 1155s # } _ExtendedGDBusPropertyInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusInterfaceInfo parent_struct; 1155s # const gchar *hyphen_name; 1155s # } _ExtendedGDBusInterfaceInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # guint prop_id; 1155s # GValue orig_value; /* the value before the change */ 1155s # } ChangedProperty; 1155s # 1155s # static void 1155s # _changed_property_free (ChangedProperty *data) 1155s # { 1155s # g_value_unset (&data->orig_value); 1155s # g_free (data); 1155s # } 1155s # 1155s # static gboolean 1155s # _g_strv_equal0 (gchar **a, gchar **b) 1155s # { 1155s # gboolean ret = FALSE; 1155s # guint n; 1155s # if (a == NULL && b == NULL) 1155s # { 1155s # ret = TRUE; 1155s # goto out; 1155s # } 1155s # if (a == NULL || b == NULL) 1155s # goto out; 1155s # if (g_strv_length (a) != g_strv_length (b)) 1155s # goto out; 1155s # for (n = 0; a[n] != NULL; n++) 1155s # if (g_strcmp0 (a[n], b[n]) != 0) 1155s # goto out; 1155s # ret = TRUE; 1155s # out: 1155s # return ret; 1155s # } 1155s # 1155s # static gboolean 1155s # _g_variant_equal0 (GVariant *a, GVariant *b) 1155s # { 1155s # gboolean ret = FALSE; 1155s # if (a == NULL && b == NULL) 1155s # { 1155s # ret = TRUE; 1155s # goto out; 1155s # } 1155s # if (a == NULL || b == NULL) 1155s # goto out; 1155s # ret = g_variant_equal (a, b); 1155s # out: 1155s # return ret; 1155s # } 1155s # 1155s # G_GNUC_UNUSED static gboolean 1155s # _g_value_equal (const GValue *a, const GValue *b) 1155s # { 1155s # gboolean ret = FALSE; 1155s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1155s # switch (G_VALUE_TYPE (a)) 1155s # { 1155s # case G_TYPE_BOOLEAN: 1155s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1155s # break; 1155s # case G_TYPE_UCHAR: 1155s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1155s # break; 1155s # case G_TYPE_INT: 1155s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1155s # break; 1155s # case G_TYPE_UINT: 1155s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1155s # break; 1155s # case G_TYPE_INT64: 1155s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1155s # break; 1155s # case G_TYPE_UINT64: 1155s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1155s # break; 1155s # case G_TYPE_DOUBLE: 1155s # { 1155s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1155s # gdouble da = g_value_get_double (a); 1155s # gdouble db = g_value_get_double (b); 1155s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1155s # } 1155s # break; 1155s # case G_TYPE_STRING: 1155s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1155s # break; 1155s # case G_TYPE_VARIANT: 1155s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1155s # break; 1155s # default: 1155s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1155s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1155s # else 1155s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1155s # break; 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static void 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint G_GNUC_UNUSED, 1155s # void *marshal_data) 1155s # { 1155s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1155s # (void *data1, 1155s # GDBusMethodInvocation *arg_method_invocation, 1155s # void *data2); 1155s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1155s # GCClosure *cc = (GCClosure*) closure; 1155s # void *data1, *data2; 1155s # gboolean v_return; 1155s # 1155s # g_return_if_fail (return_value != NULL); 1155s # g_return_if_fail (n_param_values == 2); 1155s # 1155s # if (G_CCLOSURE_SWAP_DATA (closure)) 1155s # { 1155s # data1 = closure->data; 1155s # data2 = g_value_peek_pointer (param_values + 0); 1155s # } 1155s # else 1155s # { 1155s # data1 = g_value_peek_pointer (param_values + 0); 1155s # data2 = closure->data; 1155s # } 1155s # 1155s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1155s # (marshal_data ? marshal_data : cc->callback); 1155s # 1155s # v_return = 1155s # callback (data1, 1155s # g_marshal_value_peek_object (param_values + 1), 1155s # data2); 1155s # 1155s # g_value_set_boolean (return_value, v_return); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ 1155s # * Code for interface org.project.Bar.Frobnicator 1155s # * ------------------------------------------------------------------------ 1155s # */ 1155s # 1155s # /** 1155s # * SECTION:OrgProjectBarFrobnicator 1155s # * @title: OrgProjectBarFrobnicator 1155s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1155s # * 1155s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1155s # */ 1155s # 1155s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1155s # 1155s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "RandomMethod", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-random-method", 1155s # FALSE 1155s # }; 1155s # 1155s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1155s # { 1155s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "org.project.Bar.Frobnicator", 1155s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "org-project-bar-frobnicator", 1155s # }; 1155s # 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_interface_info: 1155s # * 1155s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1155s # * 1155s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1155s # */ 1155s # GDBusInterfaceInfo * 1155s # org_project_bar_frobnicator_interface_info (void) 1155s # { 1155s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_override_properties: 1155s # * @klass: The class structure for a #GObject derived class. 1155s # * @property_id_begin: The property id to assign to the first overridden property. 1155s # * 1155s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1155s # * The properties are overridden in the order they are defined. 1155s # * 1155s # * Returns: The last property id. 1155s # */ 1155s # guint 1155s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1155s # { 1155s # return property_id_begin - 1; 1155s # } 1155s # 1155s # 1155s # inline static void 1155s # org_project_bar_frobnicator_method_marshal_random_method ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicator: 1155s # * 1155s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1155s # */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorIface: 1155s # * @parent_iface: The parent interface. 1155s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1155s # * 1155s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1155s # */ 1155s # 1155s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1155s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1155s # { 1155s # /* GObject signals for incoming D-Bus method calls: */ 1155s # /** 1155s # * OrgProjectBarFrobnicator::handle-random-method: 1155s # * @object: A #OrgProjectBarFrobnicator. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-random-method", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # org_project_bar_frobnicator_method_marshal_random_method, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_call_random_method: 1155s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1155s # * 1155s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_call_random_method ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "RandomMethod", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_call_random_method_finish: 1155s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # org_project_bar_frobnicator_call_random_method_finish ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_call_random_method_sync: 1155s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # org_project_bar_frobnicator_call_random_method_sync ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "RandomMethod", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_complete_random_method: 1155s # * @object: A #OrgProjectBarFrobnicator. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_complete_random_method ( 1155s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorProxy: 1155s # * 1155s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorProxyClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1155s # */ 1155s # 1155s # struct _OrgProjectBarFrobnicatorProxyPrivate 1155s # { 1155s # GData *qdata; 1155s # }; 1155s # 1155s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1155s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1155s # { 1155s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1155s # g_datalist_clear (&proxy->priv->qdata); 1155s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1155s # guint prop_id G_GNUC_UNUSED, 1155s # GValue *value G_GNUC_UNUSED, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1155s # guint prop_id G_GNUC_UNUSED, 1155s # const GValue *value G_GNUC_UNUSED, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1155s # const gchar *sender_name G_GNUC_UNUSED, 1155s # const gchar *signal_name, 1155s # GVariant *parameters) 1155s # { 1155s # _ExtendedGDBusSignalInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # gsize n; 1155s # guint signal_id; 1155s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1155s # if (info == NULL) 1155s # return; 1155s # num_params = g_variant_n_children (parameters); 1155s # paramv = g_new0 (GValue, num_params + 1); 1155s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_value_set_object (¶mv[0], proxy); 1155s # g_variant_iter_init (&iter, parameters); 1155s # n = 1; 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_signal_emitv (paramv, signal_id, 0, NULL); 1155s # for (n = 0; n < num_params + 1; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1155s # GVariant *changed_properties, 1155s # const gchar *const *invalidated_properties) 1155s # { 1155s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1155s # guint n; 1155s # const gchar *key; 1155s # GVariantIter *iter; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # g_variant_get (changed_properties, "a{sv}", &iter); 1155s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1155s # g_datalist_remove_data (&proxy->priv->qdata, key); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # g_variant_iter_free (iter); 1155s # for (n = 0; invalidated_properties[n] != NULL; n++) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1155s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1155s # #else 1155s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1155s # #endif 1155s # 1155s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusProxyClass *proxy_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1155s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1155s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1155s # 1155s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1155s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1155s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_sync: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_for_bus: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorSkeleton: 1155s # * 1155s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorSkeletonClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1155s # */ 1155s # 1155s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1155s # { 1155s # GValue *properties; 1155s # GList *changed_properties; 1155s # GSource *changed_properties_idle_source; 1155s # GMainContext *context; 1155s # GMutex lock; 1155s # }; 1155s # 1155s # static void 1155s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name, 1155s # const gchar *method_name, 1155s # GVariant *parameters, 1155s # GDBusMethodInvocation *invocation, 1155s # gpointer user_data) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1155s # _ExtendedGDBusMethodInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # guint num_extra; 1155s # gsize n; 1155s # guint signal_id; 1155s # GValue return_value = G_VALUE_INIT; 1155s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1155s # g_assert (info != NULL); 1155s # num_params = g_variant_n_children (parameters); 1155s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1155s # n = 0; 1155s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_value_set_object (¶mv[n++], skeleton); 1155s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1155s # g_value_set_object (¶mv[n++], invocation); 1155s # if (info->pass_fdlist) 1155s # { 1155s # #ifdef G_OS_UNIX 1155s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1155s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1155s # #else 1155s # g_assert_not_reached (); 1155s # #endif 1155s # } 1155s # g_variant_iter_init (&iter, parameters); 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1155s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1155s # if (!g_value_get_boolean (&return_value)) 1155s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1155s # g_value_unset (&return_value); 1155s # for (n = 0; n < num_params + num_extra; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static GVariant * 1155s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *ret; 1155s # ret = NULL; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # g_value_init (&value, pspec->value_type); 1155s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1155s # g_value_unset (&value); 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static gboolean 1155s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GVariant *variant, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # gboolean ret; 1155s # ret = FALSE; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # if (info->use_gvariant) 1155s # g_value_set_variant (&value, variant); 1155s # else 1155s # g_dbus_gvariant_to_gvalue (variant, &value); 1155s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # g_value_unset (&value); 1155s # ret = TRUE; 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1155s # { 1155s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1155s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1155s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1155s # {NULL} 1155s # }; 1155s # 1155s # static GDBusInterfaceInfo * 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return org_project_bar_frobnicator_interface_info (); 1155s # } 1155s # 1155s # static GDBusInterfaceVTable * 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1155s # } 1155s # 1155s # static GVariant * 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1155s # 1155s # GVariantBuilder builder; 1155s # guint n; 1155s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1155s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1155s # goto out; 1155s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1155s # { 1155s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1155s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1155s # { 1155s # GVariant *value; 1155s # 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); 1155s # if (value != NULL) 1155s # { 1155s # g_variant_take_ref (value); 1155s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1155s # g_variant_unref (value); 1155s # } 1155s # } 1155s # } 1155s # out: 1155s # return g_variant_builder_end (&builder); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1155s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1155s # if (skeleton->priv->changed_properties_idle_source != NULL) 1155s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1155s # g_main_context_unref (skeleton->priv->context); 1155s # g_mutex_clear (&skeleton->priv->lock); 1155s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1155s # #else 1155s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1155s # #endif 1155s # 1155s # g_mutex_init (&skeleton->priv->lock); 1155s # skeleton->priv->context = g_main_context_ref_thread_default (); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusInterfaceSkeletonClass *skeleton_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1155s # 1155s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1155s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1155s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1155s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1155s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_skeleton_new: 1155s # * 1155s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_skeleton_new (void) 1155s # { 1155s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ 1155s # * Code for interface com.acme.Coyote 1155s # * ------------------------------------------------------------------------ 1155s # */ 1155s # 1155s # /** 1155s # * SECTION:ComAcmeCoyote 1155s # * @title: ComAcmeCoyote 1155s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1155s # * 1155s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1155s # */ 1155s # 1155s # enum 1155s # { 1155s # _COM_ACME_COYOTE_SURPRISED, 1155s # }; 1155s # 1155s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1155s # 1155s # /* ---- Introspection data for com.acme.Coyote ---- */ 1155s # 1155s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Run", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-run", 1155s # FALSE 1155s # }; 1155s # 1155s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Sleep", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-sleep", 1155s # FALSE 1155s # }; 1155s # 1155s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Attack", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-attack", 1155s # FALSE 1155s # }; 1155s # 1155s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1155s # { 1155s # &_com_acme_coyote_method_info_run.parent_struct, 1155s # &_com_acme_coyote_method_info_sleep.parent_struct, 1155s # &_com_acme_coyote_method_info_attack.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Surprised", 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "surprised" 1155s # }; 1155s # 1155s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1155s # { 1155s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Mood", 1155s # (gchar *) "s", 1155s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1155s # NULL 1155s # }, 1155s # "mood", 1155s # FALSE, 1155s # TRUE 1155s # }; 1155s # 1155s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1155s # { 1155s # &_com_acme_coyote_property_info_mood.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "com.acme.Coyote", 1155s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1155s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1155s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1155s # NULL 1155s # }, 1155s # "com-acme-coyote", 1155s # }; 1155s # 1155s # 1155s # /** 1155s # * com_acme_coyote_interface_info: 1155s # * 1155s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1155s # * 1155s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1155s # */ 1155s # GDBusInterfaceInfo * 1155s # com_acme_coyote_interface_info (void) 1155s # { 1155s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_override_properties: 1155s # * @klass: The class structure for a #GObject derived class. 1155s # * @property_id_begin: The property id to assign to the first overridden property. 1155s # * 1155s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1155s # * The properties are overridden in the order they are defined. 1155s # * 1155s # * Returns: The last property id. 1155s # */ 1155s # guint 1155s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1155s # { 1155s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1155s # return property_id_begin - 1; 1155s # } 1155s # 1155s # 1155s # inline static void 1155s # com_acme_coyote_signal_marshal_surprised ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # g_cclosure_marshal_VOID__VOID (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # inline static void 1155s # com_acme_coyote_method_marshal_run ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # inline static void 1155s # com_acme_coyote_method_marshal_sleep ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # inline static void 1155s # com_acme_coyote_method_marshal_attack ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # 1155s # /** 1155s # * ComAcmeCoyote: 1155s # * 1155s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1155s # */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteIface: 1155s # * @parent_iface: The parent interface. 1155s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1155s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1155s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1155s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1155s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1155s # * 1155s # * Virtual table for the D-Bus interface com.acme.Coyote. 1155s # */ 1155s # 1155s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1155s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1155s # 1155s # static void 1155s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1155s # { 1155s # /* GObject signals for incoming D-Bus method calls: */ 1155s # /** 1155s # * ComAcmeCoyote::handle-run: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-run", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # com_acme_coyote_method_marshal_run, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # /** 1155s # * ComAcmeCoyote::handle-sleep: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-sleep", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # com_acme_coyote_method_marshal_sleep, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # /** 1155s # * ComAcmeCoyote::handle-attack: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-attack", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # com_acme_coyote_method_marshal_attack, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # /* GObject signals for received D-Bus signals: */ 1155s # /** 1155s # * ComAcmeCoyote::surprised: 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1155s # * 1155s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1155s # */ 1155s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1155s # g_signal_new ("surprised", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1155s # NULL, 1155s # NULL, 1155s # com_acme_coyote_signal_marshal_surprised, 1155s # G_TYPE_NONE, 1155s # 0); 1155s # 1155s # /* GObject properties for D-Bus properties: */ 1155s # /** 1155s # * ComAcmeCoyote:mood: 1155s # * 1155s # * Represents the D-Bus property "Mood". 1155s # * 1155s # * 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. 1155s # */ 1155s # g_object_interface_install_property (iface, 1155s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_get_mood: (skip) 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * Gets the value of the "Mood" D-Bus property. 1155s # * 1155s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # const gchar * 1155s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1155s # { 1155s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1155s # 1155s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_dup_mood: (skip) 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * Gets a copy of the "Mood" D-Bus property. 1155s # * 1155s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1155s # * 1155s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1155s # */ 1155s # gchar * 1155s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1155s # { 1155s # gchar *value; 1155s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1155s # return value; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_set_mood: (skip) 1155s # * @object: A #ComAcmeCoyote. 1155s # * @value: The value to set. 1155s # * 1155s # * Sets the "Mood" D-Bus property to @value. 1155s # * 1155s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1155s # */ 1155s # void 1155s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1155s # { 1155s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_emit_surprised: 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * Emits the "Surprised" D-Bus signal. 1155s # */ 1155s # void 1155s # com_acme_coyote_emit_surprised ( 1155s # ComAcmeCoyote *object) 1155s # { 1155s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_run: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # com_acme_coyote_call_run ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "Run", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_run_finish: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_call_run(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_run_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_run_sync: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_run_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "Run", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_sleep: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # com_acme_coyote_call_sleep ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "Sleep", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_sleep_finish: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_sleep_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_sleep_sync: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_sleep_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "Sleep", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_attack: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # com_acme_coyote_call_attack ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "Attack", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_attack_finish: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_call_attack(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_attack_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_attack_sync: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_attack_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "Attack", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_complete_run: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # com_acme_coyote_complete_run ( 1155s # ComAcmeCoyote *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_complete_sleep: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # com_acme_coyote_complete_sleep ( 1155s # ComAcmeCoyote *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_complete_attack: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # com_acme_coyote_complete_attack ( 1155s # ComAcmeCoyote *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteProxy: 1155s # * 1155s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteProxyClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #ComAcmeCoyoteProxy. 1155s # */ 1155s # 1155s # struct _ComAcmeCoyoteProxyPrivate 1155s # { 1155s # GData *qdata; 1155s # }; 1155s # 1155s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1155s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # com_acme_coyote_proxy_finalize (GObject *object) 1155s # { 1155s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1155s # g_datalist_clear (&proxy->priv->qdata); 1155s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_get_property (GObject *object, 1155s # guint prop_id, 1155s # GValue *value, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *variant; 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1155s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1155s # if (info->use_gvariant) 1155s # { 1155s # g_value_set_variant (value, variant); 1155s # } 1155s # else 1155s # { 1155s # if (variant != NULL) 1155s # g_dbus_gvariant_to_gvalue (variant, value); 1155s # } 1155s # if (variant != NULL) 1155s # g_variant_unref (variant); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1155s # GAsyncResult *res, 1155s # gpointer user_data) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info = user_data; 1155s # GError *error; 1155s # GVariant *_ret; 1155s # error = NULL; 1155s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1155s # if (!_ret) 1155s # { 1155s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1155s # info->parent_struct.name, 1155s # error->message, g_quark_to_string (error->domain), error->code); 1155s # g_error_free (error); 1155s # } 1155s # else 1155s # { 1155s # g_variant_unref (_ret); 1155s # } 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_set_property (GObject *object, 1155s # guint prop_id, 1155s # const GValue *value, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *variant; 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1155s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1155s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1155s # "org.freedesktop.DBus.Properties.Set", 1155s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1155s # g_variant_unref (variant); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1155s # const gchar *sender_name G_GNUC_UNUSED, 1155s # const gchar *signal_name, 1155s # GVariant *parameters) 1155s # { 1155s # _ExtendedGDBusSignalInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # gsize n; 1155s # guint signal_id; 1155s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1155s # if (info == NULL) 1155s # return; 1155s # num_params = g_variant_n_children (parameters); 1155s # paramv = g_new0 (GValue, num_params + 1); 1155s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1155s # g_value_set_object (¶mv[0], proxy); 1155s # g_variant_iter_init (&iter, parameters); 1155s # n = 1; 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1155s # g_signal_emitv (paramv, signal_id, 0, NULL); 1155s # for (n = 0; n < num_params + 1; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1155s # GVariant *changed_properties, 1155s # const gchar *const *invalidated_properties) 1155s # { 1155s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1155s # guint n; 1155s # const gchar *key; 1155s # GVariantIter *iter; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # g_variant_get (changed_properties, "a{sv}", &iter); 1155s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1155s # g_datalist_remove_data (&proxy->priv->qdata, key); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # g_variant_iter_free (iter); 1155s # for (n = 0; invalidated_properties[n] != NULL; n++) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1155s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # } 1155s # 1155s # static const gchar * 1155s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1155s # { 1155s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1155s # GVariant *variant; 1155s # const gchar *value = NULL; 1155s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1155s # if (variant != NULL) 1155s # { 1155s # value = g_variant_get_string (variant, NULL); 1155s # g_variant_unref (variant); 1155s # } 1155s # return value; 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1155s # #else 1155s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1155s # #endif 1155s # 1155s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusProxyClass *proxy_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1155s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1155s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1155s # 1155s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1155s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1155s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1155s # 1155s # com_acme_coyote_override_properties (gobject_class, 1); 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1155s # { 1155s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # com_acme_coyote_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_sync: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_for_bus: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # com_acme_coyote_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_for_bus_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_for_bus_sync: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteSkeleton: 1155s # * 1155s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteSkeletonClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #ComAcmeCoyoteSkeleton. 1155s # */ 1155s # 1155s # struct _ComAcmeCoyoteSkeletonPrivate 1155s # { 1155s # GValue *properties; 1155s # GList *changed_properties; 1155s # GSource *changed_properties_idle_source; 1155s # GMainContext *context; 1155s # GMutex lock; 1155s # }; 1155s # 1155s # static void 1155s # _com_acme_coyote_skeleton_handle_method_call ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name, 1155s # const gchar *method_name, 1155s # GVariant *parameters, 1155s # GDBusMethodInvocation *invocation, 1155s # gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # _ExtendedGDBusMethodInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # guint num_extra; 1155s # gsize n; 1155s # guint signal_id; 1155s # GValue return_value = G_VALUE_INIT; 1155s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1155s # g_assert (info != NULL); 1155s # num_params = g_variant_n_children (parameters); 1155s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1155s # n = 0; 1155s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1155s # g_value_set_object (¶mv[n++], skeleton); 1155s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1155s # g_value_set_object (¶mv[n++], invocation); 1155s # if (info->pass_fdlist) 1155s # { 1155s # #ifdef G_OS_UNIX 1155s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1155s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1155s # #else 1155s # g_assert_not_reached (); 1155s # #endif 1155s # } 1155s # g_variant_iter_init (&iter, parameters); 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1155s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1155s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1155s # if (!g_value_get_boolean (&return_value)) 1155s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1155s # g_value_unset (&return_value); 1155s # for (n = 0; n < num_params + num_extra; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static GVariant * 1155s # _com_acme_coyote_skeleton_handle_get_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *ret; 1155s # ret = NULL; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # g_value_init (&value, pspec->value_type); 1155s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1155s # g_value_unset (&value); 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static gboolean 1155s # _com_acme_coyote_skeleton_handle_set_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GVariant *variant, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # gboolean ret; 1155s # ret = FALSE; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # if (info->use_gvariant) 1155s # g_value_set_variant (&value, variant); 1155s # else 1155s # g_dbus_gvariant_to_gvalue (variant, &value); 1155s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # g_value_unset (&value); 1155s # ret = TRUE; 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1155s # { 1155s # _com_acme_coyote_skeleton_handle_method_call, 1155s # _com_acme_coyote_skeleton_handle_get_property, 1155s # _com_acme_coyote_skeleton_handle_set_property, 1155s # {NULL} 1155s # }; 1155s # 1155s # static GDBusInterfaceInfo * 1155s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return com_acme_coyote_interface_info (); 1155s # } 1155s # 1155s # static GDBusInterfaceVTable * 1155s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1155s # } 1155s # 1155s # static GVariant * 1155s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1155s # 1155s # GVariantBuilder builder; 1155s # guint n; 1155s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1155s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1155s # goto out; 1155s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1155s # { 1155s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1155s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1155s # { 1155s # GVariant *value; 1155s # 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); 1155s # if (value != NULL) 1155s # { 1155s # g_variant_take_ref (value); 1155s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1155s # g_variant_unref (value); 1155s # } 1155s # } 1155s # } 1155s # out: 1155s # return g_variant_builder_end (&builder); 1155s # } 1155s # 1155s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1155s # gboolean emit_changed = FALSE; 1155s # 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # if (skeleton->priv->changed_properties_idle_source != NULL) 1155s # { 1155s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1155s # skeleton->priv->changed_properties_idle_source = NULL; 1155s # emit_changed = TRUE; 1155s # } 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # 1155s # if (emit_changed) 1155s # _com_acme_coyote_emit_changed (skeleton); 1155s # } 1155s # 1155s # static void 1155s # _com_acme_coyote_on_signal_surprised ( 1155s # ComAcmeCoyote *object) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # 1155s # GList *connections, *l; 1155s # GVariant *signal_variant; 1155s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1155s # 1155s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1155s # for (l = connections; l != NULL; l = l->next) 1155s # { 1155s # GDBusConnection *connection = l->data; 1155s # g_dbus_connection_emit_signal (connection, 1155s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1155s # signal_variant, NULL); 1155s # } 1155s # g_variant_unref (signal_variant); 1155s # g_list_free_full (connections, g_object_unref); 1155s # } 1155s # 1155s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # com_acme_coyote_skeleton_finalize (GObject *object) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # guint n; 1155s # for (n = 0; n < 1; n++) 1155s # g_value_unset (&skeleton->priv->properties[n]); 1155s # g_free (skeleton->priv->properties); 1155s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1155s # if (skeleton->priv->changed_properties_idle_source != NULL) 1155s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1155s # g_main_context_unref (skeleton->priv->context); 1155s # g_mutex_clear (&skeleton->priv->lock); 1155s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_get_property (GObject *object, 1155s # guint prop_id, 1155s # GValue *value, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # } 1155s # 1155s # static gboolean 1155s # _com_acme_coyote_emit_changed (gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # GList *l; 1155s # GVariantBuilder builder; 1155s # GVariantBuilder invalidated_builder; 1155s # guint num_changes; 1155s # 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1155s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1155s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1155s # { 1155s # ChangedProperty *cp = l->data; 1155s # GVariant *variant; 1155s # const GValue *cur_value; 1155s # 1155s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1155s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1155s # { 1155s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1155s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1155s # g_variant_unref (variant); 1155s # num_changes++; 1155s # } 1155s # } 1155s # if (num_changes > 0) 1155s # { 1155s # GList *connections, *ll; 1155s # GVariant *signal_variant; 1155s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1155s # &builder, &invalidated_builder)); 1155s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1155s # for (ll = connections; ll != NULL; ll = ll->next) 1155s # { 1155s # GDBusConnection *connection = ll->data; 1155s # 1155s # g_dbus_connection_emit_signal (connection, 1155s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1155s # "org.freedesktop.DBus.Properties", 1155s # "PropertiesChanged", 1155s # signal_variant, 1155s # NULL); 1155s # } 1155s # g_variant_unref (signal_variant); 1155s # g_list_free_full (connections, g_object_unref); 1155s # } 1155s # else 1155s # { 1155s # g_variant_builder_clear (&builder); 1155s # g_variant_builder_clear (&invalidated_builder); 1155s # } 1155s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1155s # skeleton->priv->changed_properties = NULL; 1155s # skeleton->priv->changed_properties_idle_source = NULL; 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # return FALSE; 1155s # } 1155s # 1155s # static void 1155s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1155s # { 1155s # ChangedProperty *cp; 1155s # GList *l; 1155s # cp = NULL; 1155s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1155s # { 1155s # ChangedProperty *i_cp = l->data; 1155s # if (i_cp->info == info) 1155s # { 1155s # cp = i_cp; 1155s # break; 1155s # } 1155s # } 1155s # if (cp == NULL) 1155s # { 1155s # cp = g_new0 (ChangedProperty, 1); 1155s # cp->prop_id = prop_id; 1155s # cp->info = info; 1155s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1155s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1155s # g_value_copy (orig_value, &cp->orig_value); 1155s # } 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_notify (GObject *object, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # if (skeleton->priv->changed_properties != NULL && 1155s # skeleton->priv->changed_properties_idle_source == NULL) 1155s # { 1155s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1155s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1155s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1155s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1155s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1155s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1155s # } 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_set_property (GObject *object, 1155s # guint prop_id, 1155s # const GValue *value, 1155s # GParamSpec *pspec) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # g_object_freeze_notify (object); 1155s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1155s # { 1155s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1155s # info->emits_changed_signal) 1155s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1155s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1155s # g_object_notify_by_pspec (object, pspec); 1155s # } 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # g_object_thaw_notify (object); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1155s # #else 1155s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1155s # #endif 1155s # 1155s # g_mutex_init (&skeleton->priv->lock); 1155s # skeleton->priv->context = g_main_context_ref_thread_default (); 1155s # skeleton->priv->properties = g_new0 (GValue, 1); 1155s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1155s # } 1155s # 1155s # static const gchar * 1155s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # const gchar *value; 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # return value; 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusInterfaceSkeletonClass *skeleton_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1155s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1155s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1155s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1155s # 1155s # 1155s # com_acme_coyote_override_properties (gobject_class, 1); 1155s # 1155s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1155s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1155s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1155s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1155s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1155s # { 1155s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1155s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_skeleton_new: 1155s # * 1155s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_skeleton_new (void) 1155s # { 1155s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1155s # } 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpek8lhaeb/tmphnlg2_m12.xml', '/tmp/tmpek8lhaeb/tmpolo94rd_1.xml', '--output', '-', '--body'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifdef HAVE_CONFIG_H 1155s # # include "config.h" 1155s # #endif 1155s # 1155s # #include 1155s # #ifdef G_OS_UNIX 1155s # # include 1155s # #endif 1155s # 1155s # #ifdef G_ENABLE_DEBUG 1155s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1155s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1155s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1155s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1155s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1155s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1155s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1155s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1155s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1155s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1155s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1155s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1155s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1155s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1155s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1155s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1155s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1155s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1155s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1155s # #else /* !G_ENABLE_DEBUG */ 1155s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1155s # * Do not access GValues directly in your code. Instead, use the 1155s # * g_value_get_*() functions 1155s # */ 1155s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1155s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1155s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1155s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1155s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1155s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1155s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1155s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1155s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1155s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1155s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1155s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1155s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1155s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1155s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1155s # #endif /* !G_ENABLE_DEBUG */ 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusArgInfo parent_struct; 1155s # gboolean use_gvariant; 1155s # } _ExtendedGDBusArgInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusMethodInfo parent_struct; 1155s # const gchar *signal_name; 1155s # gboolean pass_fdlist; 1155s # } _ExtendedGDBusMethodInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusSignalInfo parent_struct; 1155s # const gchar *signal_name; 1155s # } _ExtendedGDBusSignalInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusPropertyInfo parent_struct; 1155s # const gchar *hyphen_name; 1155s # guint use_gvariant : 1; 1155s # guint emits_changed_signal : 1; 1155s # } _ExtendedGDBusPropertyInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # GDBusInterfaceInfo parent_struct; 1155s # const gchar *hyphen_name; 1155s # } _ExtendedGDBusInterfaceInfo; 1155s # 1155s # typedef struct 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # guint prop_id; 1155s # GValue orig_value; /* the value before the change */ 1155s # } ChangedProperty; 1155s # 1155s # static void 1155s # _changed_property_free (ChangedProperty *data) 1155s # { 1155s # g_value_unset (&data->orig_value); 1155s # g_free (data); 1155s # } 1155s # 1155s # static gboolean 1155s # _g_strv_equal0 (gchar **a, gchar **b) 1155s # { 1155s # gboolean ret = FALSE; 1155s # guint n; 1155s # if (a == NULL && b == NULL) 1155s # { 1155s # ret = TRUE; 1155s # goto out; 1155s # } 1155s # if (a == NULL || b == NULL) 1155s # goto out; 1155s # if (g_strv_length (a) != g_strv_length (b)) 1155s # goto out; 1155s # for (n = 0; a[n] != NULL; n++) 1155s # if (g_strcmp0 (a[n], b[n]) != 0) 1155s # goto out; 1155s # ret = TRUE; 1155s # out: 1155s # return ret; 1155s # } 1155s # 1155s # static gboolean 1155s # _g_variant_equal0 (GVariant *a, GVariant *b) 1155s # { 1155s # gboolean ret = FALSE; 1155s # if (a == NULL && b == NULL) 1155s # { 1155s # ret = TRUE; 1155s # goto out; 1155s # } 1155s # if (a == NULL || b == NULL) 1155s # goto out; 1155s # ret = g_variant_equal (a, b); 1155s # out: 1155s # return ret; 1155s # } 1155s # 1155s # G_GNUC_UNUSED static gboolean 1155s # _g_value_equal (const GValue *a, const GValue *b) 1155s # { 1155s # gboolean ret = FALSE; 1155s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1155s # switch (G_VALUE_TYPE (a)) 1155s # { 1155s # case G_TYPE_BOOLEAN: 1155s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1155s # break; 1155s # case G_TYPE_UCHAR: 1155s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1155s # break; 1155s # case G_TYPE_INT: 1155s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1155s # break; 1155s # case G_TYPE_UINT: 1155s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1155s # break; 1155s # case G_TYPE_INT64: 1155s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1155s # break; 1155s # case G_TYPE_UINT64: 1155s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1155s # break; 1155s # case G_TYPE_DOUBLE: 1155s # { 1155s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1155s # gdouble da = g_value_get_double (a); 1155s # gdouble db = g_value_get_double (b); 1155s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1155s # } 1155s # break; 1155s # case G_TYPE_STRING: 1155s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1155s # break; 1155s # case G_TYPE_VARIANT: 1155s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1155s # break; 1155s # default: 1155s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1155s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1155s # else 1155s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1155s # break; 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static void 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint G_GNUC_UNUSED, 1155s # void *marshal_data) 1155s # { 1155s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1155s # (void *data1, 1155s # GDBusMethodInvocation *arg_method_invocation, 1155s # void *data2); 1155s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1155s # GCClosure *cc = (GCClosure*) closure; 1155s # void *data1, *data2; 1155s # gboolean v_return; 1155s # 1155s # g_return_if_fail (return_value != NULL); 1155s # g_return_if_fail (n_param_values == 2); 1155s # 1155s # if (G_CCLOSURE_SWAP_DATA (closure)) 1155s # { 1155s # data1 = closure->data; 1155s # data2 = g_value_peek_pointer (param_values + 0); 1155s # } 1155s # else 1155s # { 1155s # data1 = g_value_peek_pointer (param_values + 0); 1155s # data2 = closure->data; 1155s # } 1155s # 1155s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1155s # (marshal_data ? marshal_data : cc->callback); 1155s # 1155s # v_return = 1155s # callback (data1, 1155s # g_marshal_value_peek_object (param_values + 1), 1155s # data2); 1155s # 1155s # g_value_set_boolean (return_value, v_return); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ 1155s # * Code for interface org.project.Bar.Frobnicator 1155s # * ------------------------------------------------------------------------ 1155s # */ 1155s # 1155s # /** 1155s # * SECTION:OrgProjectBarFrobnicator 1155s # * @title: OrgProjectBarFrobnicator 1155s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1155s # * 1155s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1155s # */ 1155s # 1155s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1155s # 1155s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "RandomMethod", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-random-method", 1155s # FALSE 1155s # }; 1155s # 1155s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1155s # { 1155s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "org.project.Bar.Frobnicator", 1155s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "org-project-bar-frobnicator", 1155s # }; 1155s # 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_interface_info: 1155s # * 1155s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1155s # * 1155s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1155s # */ 1155s # GDBusInterfaceInfo * 1155s # org_project_bar_frobnicator_interface_info (void) 1155s # { 1155s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_override_properties: 1155s # * @klass: The class structure for a #GObject derived class. 1155s # * @property_id_begin: The property id to assign to the first overridden property. 1155s # * 1155s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1155s # * The properties are overridden in the order they are defined. 1155s # * 1155s # * Returns: The last property id. 1155s # */ 1155s # guint 1155s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1155s # { 1155s # return property_id_begin - 1; 1155s # } 1155s # 1155s # 1155s # inline static void 1155s # org_project_bar_frobnicator_method_marshal_random_method ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicator: 1155s # * 1155s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1155s # */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorIface: 1155s # * @parent_iface: The parent interface. 1155s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1155s # * 1155s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1155s # */ 1155s # 1155s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1155s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1155s # { 1155s # /* GObject signals for incoming D-Bus method calls: */ 1155s # /** 1155s # * OrgProjectBarFrobnicator::handle-random-method: 1155s # * @object: A #OrgProjectBarFrobnicator. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-random-method", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # org_project_bar_frobnicator_method_marshal_random_method, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_call_random_method: 1155s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1155s # * 1155s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_call_random_method ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "RandomMethod", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_call_random_method_finish: 1155s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # org_project_bar_frobnicator_call_random_method_finish ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_call_random_method_sync: 1155s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # org_project_bar_frobnicator_call_random_method_sync ( 1155s # OrgProjectBarFrobnicator *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "RandomMethod", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_complete_random_method: 1155s # * @object: A #OrgProjectBarFrobnicator. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_complete_random_method ( 1155s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorProxy: 1155s # * 1155s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorProxyClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1155s # */ 1155s # 1155s # struct _OrgProjectBarFrobnicatorProxyPrivate 1155s # { 1155s # GData *qdata; 1155s # }; 1155s # 1155s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1155s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1155s # { 1155s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1155s # g_datalist_clear (&proxy->priv->qdata); 1155s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1155s # guint prop_id G_GNUC_UNUSED, 1155s # GValue *value G_GNUC_UNUSED, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1155s # guint prop_id G_GNUC_UNUSED, 1155s # const GValue *value G_GNUC_UNUSED, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1155s # const gchar *sender_name G_GNUC_UNUSED, 1155s # const gchar *signal_name, 1155s # GVariant *parameters) 1155s # { 1155s # _ExtendedGDBusSignalInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # gsize n; 1155s # guint signal_id; 1155s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1155s # if (info == NULL) 1155s # return; 1155s # num_params = g_variant_n_children (parameters); 1155s # paramv = g_new0 (GValue, num_params + 1); 1155s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_value_set_object (¶mv[0], proxy); 1155s # g_variant_iter_init (&iter, parameters); 1155s # n = 1; 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_signal_emitv (paramv, signal_id, 0, NULL); 1155s # for (n = 0; n < num_params + 1; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1155s # GVariant *changed_properties, 1155s # const gchar *const *invalidated_properties) 1155s # { 1155s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1155s # guint n; 1155s # const gchar *key; 1155s # GVariantIter *iter; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # g_variant_get (changed_properties, "a{sv}", &iter); 1155s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1155s # g_datalist_remove_data (&proxy->priv->qdata, key); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # g_variant_iter_free (iter); 1155s # for (n = 0; invalidated_properties[n] != NULL; n++) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1155s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1155s # #else 1155s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1155s # #endif 1155s # 1155s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusProxyClass *proxy_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1155s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1155s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1155s # 1155s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1155s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1155s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_sync: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_for_bus: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # org_project_bar_frobnicator_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorSkeleton: 1155s # * 1155s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * OrgProjectBarFrobnicatorSkeletonClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1155s # */ 1155s # 1155s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1155s # { 1155s # GValue *properties; 1155s # GList *changed_properties; 1155s # GSource *changed_properties_idle_source; 1155s # GMainContext *context; 1155s # GMutex lock; 1155s # }; 1155s # 1155s # static void 1155s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name, 1155s # const gchar *method_name, 1155s # GVariant *parameters, 1155s # GDBusMethodInvocation *invocation, 1155s # gpointer user_data) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1155s # _ExtendedGDBusMethodInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # guint num_extra; 1155s # gsize n; 1155s # guint signal_id; 1155s # GValue return_value = G_VALUE_INIT; 1155s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1155s # g_assert (info != NULL); 1155s # num_params = g_variant_n_children (parameters); 1155s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1155s # n = 0; 1155s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_value_set_object (¶mv[n++], skeleton); 1155s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1155s # g_value_set_object (¶mv[n++], invocation); 1155s # if (info->pass_fdlist) 1155s # { 1155s # #ifdef G_OS_UNIX 1155s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1155s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1155s # #else 1155s # g_assert_not_reached (); 1155s # #endif 1155s # } 1155s # g_variant_iter_init (&iter, parameters); 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1155s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1155s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1155s # if (!g_value_get_boolean (&return_value)) 1155s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1155s # g_value_unset (&return_value); 1155s # for (n = 0; n < num_params + num_extra; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static GVariant * 1155s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *ret; 1155s # ret = NULL; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # g_value_init (&value, pspec->value_type); 1155s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1155s # g_value_unset (&value); 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static gboolean 1155s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GVariant *variant, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # gboolean ret; 1155s # ret = FALSE; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # if (info->use_gvariant) 1155s # g_value_set_variant (&value, variant); 1155s # else 1155s # g_dbus_gvariant_to_gvalue (variant, &value); 1155s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # g_value_unset (&value); 1155s # ret = TRUE; 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1155s # { 1155s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1155s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1155s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1155s # {NULL} 1155s # }; 1155s # 1155s # static GDBusInterfaceInfo * 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return org_project_bar_frobnicator_interface_info (); 1155s # } 1155s # 1155s # static GDBusInterfaceVTable * 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1155s # } 1155s # 1155s # static GVariant * 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1155s # 1155s # GVariantBuilder builder; 1155s # guint n; 1155s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1155s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1155s # goto out; 1155s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1155s # { 1155s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1155s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1155s # { 1155s # GVariant *value; 1155s # 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); 1155s # if (value != NULL) 1155s # { 1155s # g_variant_take_ref (value); 1155s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1155s # g_variant_unref (value); 1155s # } 1155s # } 1155s # } 1155s # out: 1155s # return g_variant_builder_end (&builder); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1155s # { 1155s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1155s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1155s # if (skeleton->priv->changed_properties_idle_source != NULL) 1155s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1155s # g_main_context_unref (skeleton->priv->context); 1155s # g_mutex_clear (&skeleton->priv->lock); 1155s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1155s # #else 1155s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1155s # #endif 1155s # 1155s # g_mutex_init (&skeleton->priv->lock); 1155s # skeleton->priv->context = g_main_context_ref_thread_default (); 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusInterfaceSkeletonClass *skeleton_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1155s # 1155s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1155s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1155s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1155s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1155s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1155s # { 1155s # } 1155s # 1155s # /** 1155s # * org_project_bar_frobnicator_skeleton_new: 1155s # * 1155s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1155s # * 1155s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1155s # */ 1155s # OrgProjectBarFrobnicator * 1155s # org_project_bar_frobnicator_skeleton_new (void) 1155s # { 1155s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ 1155s # * Code for interface com.acme.Coyote 1155s # * ------------------------------------------------------------------------ 1155s # */ 1155s # 1155s # /** 1155s # * SECTION:ComAcmeCoyote 1155s # * @title: ComAcmeCoyote 1155s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1155s # * 1155s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1155s # */ 1155s # 1155s # enum 1155s # { 1155s # _COM_ACME_COYOTE_SURPRISED, 1155s # }; 1155s # 1155s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1155s # 1155s # /* ---- Introspection data for com.acme.Coyote ---- */ 1155s # 1155s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Run", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-run", 1155s # FALSE 1155s # }; 1155s # 1155s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Sleep", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-sleep", 1155s # FALSE 1155s # }; 1155s # 1155s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Attack", 1155s # NULL, 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "handle-attack", 1155s # FALSE 1155s # }; 1155s # 1155s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1155s # { 1155s # &_com_acme_coyote_method_info_run.parent_struct, 1155s # &_com_acme_coyote_method_info_sleep.parent_struct, 1155s # &_com_acme_coyote_method_info_attack.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Surprised", 1155s # NULL, 1155s # NULL 1155s # }, 1155s # "surprised" 1155s # }; 1155s # 1155s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1155s # { 1155s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "Mood", 1155s # (gchar *) "s", 1155s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1155s # NULL 1155s # }, 1155s # "mood", 1155s # FALSE, 1155s # TRUE 1155s # }; 1155s # 1155s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1155s # { 1155s # &_com_acme_coyote_property_info_mood.parent_struct, 1155s # NULL 1155s # }; 1155s # 1155s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1155s # { 1155s # { 1155s # -1, 1155s # (gchar *) "com.acme.Coyote", 1155s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1155s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1155s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1155s # NULL 1155s # }, 1155s # "com-acme-coyote", 1155s # }; 1155s # 1155s # 1155s # /** 1155s # * com_acme_coyote_interface_info: 1155s # * 1155s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1155s # * 1155s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1155s # */ 1155s # GDBusInterfaceInfo * 1155s # com_acme_coyote_interface_info (void) 1155s # { 1155s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_override_properties: 1155s # * @klass: The class structure for a #GObject derived class. 1155s # * @property_id_begin: The property id to assign to the first overridden property. 1155s # * 1155s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1155s # * The properties are overridden in the order they are defined. 1155s # * 1155s # * Returns: The last property id. 1155s # */ 1155s # guint 1155s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1155s # { 1155s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1155s # return property_id_begin - 1; 1155s # } 1155s # 1155s # 1155s # inline static void 1155s # com_acme_coyote_signal_marshal_surprised ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # g_cclosure_marshal_VOID__VOID (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # inline static void 1155s # com_acme_coyote_method_marshal_run ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # inline static void 1155s # com_acme_coyote_method_marshal_sleep ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # inline static void 1155s # com_acme_coyote_method_marshal_attack ( 1155s # GClosure *closure, 1155s # GValue *return_value, 1155s # unsigned int n_param_values, 1155s # const GValue *param_values, 1155s # void *invocation_hint, 1155s # void *marshal_data) 1155s # { 1155s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1155s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1155s # } 1155s # 1155s # 1155s # /** 1155s # * ComAcmeCoyote: 1155s # * 1155s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1155s # */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteIface: 1155s # * @parent_iface: The parent interface. 1155s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1155s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1155s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1155s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1155s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1155s # * 1155s # * Virtual table for the D-Bus interface com.acme.Coyote. 1155s # */ 1155s # 1155s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1155s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1155s # 1155s # static void 1155s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1155s # { 1155s # /* GObject signals for incoming D-Bus method calls: */ 1155s # /** 1155s # * ComAcmeCoyote::handle-run: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-run", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # com_acme_coyote_method_marshal_run, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # /** 1155s # * ComAcmeCoyote::handle-sleep: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-sleep", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # com_acme_coyote_method_marshal_sleep, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # /** 1155s # * ComAcmeCoyote::handle-attack: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: A #GDBusMethodInvocation. 1155s # * 1155s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # g_signal_new ("handle-attack", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1155s # g_signal_accumulator_true_handled, 1155s # NULL, 1155s # com_acme_coyote_method_marshal_attack, 1155s # G_TYPE_BOOLEAN, 1155s # 1, 1155s # G_TYPE_DBUS_METHOD_INVOCATION); 1155s # 1155s # /* GObject signals for received D-Bus signals: */ 1155s # /** 1155s # * ComAcmeCoyote::surprised: 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1155s # * 1155s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1155s # */ 1155s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1155s # g_signal_new ("surprised", 1155s # G_TYPE_FROM_INTERFACE (iface), 1155s # G_SIGNAL_RUN_LAST, 1155s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1155s # NULL, 1155s # NULL, 1155s # com_acme_coyote_signal_marshal_surprised, 1155s # G_TYPE_NONE, 1155s # 0); 1155s # 1155s # /* GObject properties for D-Bus properties: */ 1155s # /** 1155s # * ComAcmeCoyote:mood: 1155s # * 1155s # * Represents the D-Bus property "Mood". 1155s # * 1155s # * 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. 1155s # */ 1155s # g_object_interface_install_property (iface, 1155s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_get_mood: (skip) 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * Gets the value of the "Mood" D-Bus property. 1155s # * 1155s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1155s # * 1155s # * 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. 1155s # * 1155s # * 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. 1155s # */ 1155s # const gchar * 1155s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1155s # { 1155s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1155s # 1155s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_dup_mood: (skip) 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * Gets a copy of the "Mood" D-Bus property. 1155s # * 1155s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1155s # * 1155s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1155s # */ 1155s # gchar * 1155s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1155s # { 1155s # gchar *value; 1155s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1155s # return value; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_set_mood: (skip) 1155s # * @object: A #ComAcmeCoyote. 1155s # * @value: The value to set. 1155s # * 1155s # * Sets the "Mood" D-Bus property to @value. 1155s # * 1155s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1155s # */ 1155s # void 1155s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1155s # { 1155s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_emit_surprised: 1155s # * @object: A #ComAcmeCoyote. 1155s # * 1155s # * Emits the "Surprised" D-Bus signal. 1155s # */ 1155s # void 1155s # com_acme_coyote_emit_surprised ( 1155s # ComAcmeCoyote *object) 1155s # { 1155s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_run: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # com_acme_coyote_call_run ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "Run", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_run_finish: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_call_run(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_run_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_run_sync: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_run_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "Run", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_sleep: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # com_acme_coyote_call_sleep ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "Sleep", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_sleep_finish: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_sleep_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_sleep_sync: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_sleep_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "Sleep", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_attack: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1155s # */ 1155s # void 1155s # com_acme_coyote_call_attack ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1155s # "Attack", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # callback, 1155s # user_data); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_attack_finish: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_call_attack(). 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_attack_finish ( 1155s # ComAcmeCoyote *proxy, 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_call_attack_sync: 1155s # * @proxy: A #ComAcmeCoyoteProxy. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL. 1155s # * 1155s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1155s # * 1155s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1155s # */ 1155s # gboolean 1155s # com_acme_coyote_call_attack_sync ( 1155s # ComAcmeCoyote *proxy, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GVariant *_ret; 1155s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1155s # "Attack", 1155s # g_variant_new ("()"), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # cancellable, 1155s # error); 1155s # if (_ret == NULL) 1155s # goto _out; 1155s # g_variant_get (_ret, 1155s # "()"); 1155s # g_variant_unref (_ret); 1155s # _out: 1155s # return _ret != NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_complete_run: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # com_acme_coyote_complete_run ( 1155s # ComAcmeCoyote *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_complete_sleep: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # com_acme_coyote_complete_sleep ( 1155s # ComAcmeCoyote *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_complete_attack: 1155s # * @object: A #ComAcmeCoyote. 1155s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1155s # * 1155s # * 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. 1155s # * 1155s # * This method will free @invocation, you cannot use it afterwards. 1155s # */ 1155s # void 1155s # com_acme_coyote_complete_attack ( 1155s # ComAcmeCoyote *object G_GNUC_UNUSED, 1155s # GDBusMethodInvocation *invocation) 1155s # { 1155s # g_dbus_method_invocation_return_value (invocation, 1155s # g_variant_new ("()")); 1155s # } 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteProxy: 1155s # * 1155s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteProxyClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #ComAcmeCoyoteProxy. 1155s # */ 1155s # 1155s # struct _ComAcmeCoyoteProxyPrivate 1155s # { 1155s # GData *qdata; 1155s # }; 1155s # 1155s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1155s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # com_acme_coyote_proxy_finalize (GObject *object) 1155s # { 1155s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1155s # g_datalist_clear (&proxy->priv->qdata); 1155s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_get_property (GObject *object, 1155s # guint prop_id, 1155s # GValue *value, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *variant; 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1155s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1155s # if (info->use_gvariant) 1155s # { 1155s # g_value_set_variant (value, variant); 1155s # } 1155s # else 1155s # { 1155s # if (variant != NULL) 1155s # g_dbus_gvariant_to_gvalue (variant, value); 1155s # } 1155s # if (variant != NULL) 1155s # g_variant_unref (variant); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1155s # GAsyncResult *res, 1155s # gpointer user_data) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info = user_data; 1155s # GError *error; 1155s # GVariant *_ret; 1155s # error = NULL; 1155s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1155s # if (!_ret) 1155s # { 1155s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1155s # info->parent_struct.name, 1155s # error->message, g_quark_to_string (error->domain), error->code); 1155s # g_error_free (error); 1155s # } 1155s # else 1155s # { 1155s # g_variant_unref (_ret); 1155s # } 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_set_property (GObject *object, 1155s # guint prop_id, 1155s # const GValue *value, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *variant; 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1155s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1155s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1155s # "org.freedesktop.DBus.Properties.Set", 1155s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1155s # G_DBUS_CALL_FLAGS_NONE, 1155s # -1, 1155s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1155s # g_variant_unref (variant); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1155s # const gchar *sender_name G_GNUC_UNUSED, 1155s # const gchar *signal_name, 1155s # GVariant *parameters) 1155s # { 1155s # _ExtendedGDBusSignalInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # gsize n; 1155s # guint signal_id; 1155s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1155s # if (info == NULL) 1155s # return; 1155s # num_params = g_variant_n_children (parameters); 1155s # paramv = g_new0 (GValue, num_params + 1); 1155s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1155s # g_value_set_object (¶mv[0], proxy); 1155s # g_variant_iter_init (&iter, parameters); 1155s # n = 1; 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1155s # g_signal_emitv (paramv, signal_id, 0, NULL); 1155s # for (n = 0; n < num_params + 1; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1155s # GVariant *changed_properties, 1155s # const gchar *const *invalidated_properties) 1155s # { 1155s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1155s # guint n; 1155s # const gchar *key; 1155s # GVariantIter *iter; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # g_variant_get (changed_properties, "a{sv}", &iter); 1155s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1155s # g_datalist_remove_data (&proxy->priv->qdata, key); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # g_variant_iter_free (iter); 1155s # for (n = 0; invalidated_properties[n] != NULL; n++) 1155s # { 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1155s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1155s # if (info != NULL) 1155s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1155s # } 1155s # } 1155s # 1155s # static const gchar * 1155s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1155s # { 1155s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1155s # GVariant *variant; 1155s # const gchar *value = NULL; 1155s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1155s # if (variant != NULL) 1155s # { 1155s # value = g_variant_get_string (variant, NULL); 1155s # g_variant_unref (variant); 1155s # } 1155s # return value; 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1155s # #else 1155s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1155s # #endif 1155s # 1155s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusProxyClass *proxy_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1155s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1155s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1155s # 1155s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1155s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1155s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1155s # 1155s # com_acme_coyote_override_properties (gobject_class, 1); 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1155s # { 1155s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # com_acme_coyote_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_sync: 1155s # * @connection: A #GDBusConnection. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_for_bus: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1155s # * @user_data: User data to pass to @callback. 1155s # * 1155s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1155s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1155s # * 1155s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1155s # */ 1155s # void 1155s # com_acme_coyote_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data) 1155s # { 1155s # 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); 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_for_bus_finish: 1155s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error) 1155s # { 1155s # GObject *ret; 1155s # GObject *source_object; 1155s # source_object = g_async_result_get_source_object (res); 1155s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1155s # g_object_unref (source_object); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_proxy_new_for_bus_sync: 1155s # * @bus_type: A #GBusType. 1155s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1155s # * @name: A bus name (well-known or unique). 1155s # * @object_path: An object path. 1155s # * @cancellable: (nullable): A #GCancellable or %NULL. 1155s # * @error: Return location for error or %NULL 1155s # * 1155s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1155s # * 1155s # * The calling thread is blocked until a reply is received. 1155s # * 1155s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error) 1155s # { 1155s # GInitable *ret; 1155s # 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); 1155s # if (ret != NULL) 1155s # return COM_ACME_COYOTE (ret); 1155s # else 1155s # return NULL; 1155s # } 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteSkeleton: 1155s # * 1155s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1155s # */ 1155s # 1155s # /** 1155s # * ComAcmeCoyoteSkeletonClass: 1155s # * @parent_class: The parent class. 1155s # * 1155s # * Class structure for #ComAcmeCoyoteSkeleton. 1155s # */ 1155s # 1155s # struct _ComAcmeCoyoteSkeletonPrivate 1155s # { 1155s # GValue *properties; 1155s # GList *changed_properties; 1155s # GSource *changed_properties_idle_source; 1155s # GMainContext *context; 1155s # GMutex lock; 1155s # }; 1155s # 1155s # static void 1155s # _com_acme_coyote_skeleton_handle_method_call ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name, 1155s # const gchar *method_name, 1155s # GVariant *parameters, 1155s # GDBusMethodInvocation *invocation, 1155s # gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # _ExtendedGDBusMethodInfo *info; 1155s # GVariantIter iter; 1155s # GVariant *child; 1155s # GValue *paramv; 1155s # gsize num_params; 1155s # guint num_extra; 1155s # gsize n; 1155s # guint signal_id; 1155s # GValue return_value = G_VALUE_INIT; 1155s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1155s # g_assert (info != NULL); 1155s # num_params = g_variant_n_children (parameters); 1155s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1155s # n = 0; 1155s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1155s # g_value_set_object (¶mv[n++], skeleton); 1155s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1155s # g_value_set_object (¶mv[n++], invocation); 1155s # if (info->pass_fdlist) 1155s # { 1155s # #ifdef G_OS_UNIX 1155s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1155s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1155s # #else 1155s # g_assert_not_reached (); 1155s # #endif 1155s # } 1155s # g_variant_iter_init (&iter, parameters); 1155s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1155s # { 1155s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1155s # if (arg_info->use_gvariant) 1155s # { 1155s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1155s # g_value_set_variant (¶mv[n], child); 1155s # n++; 1155s # } 1155s # else 1155s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1155s # g_variant_unref (child); 1155s # } 1155s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1155s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1155s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1155s # if (!g_value_get_boolean (&return_value)) 1155s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1155s # g_value_unset (&return_value); 1155s # for (n = 0; n < num_params + num_extra; n++) 1155s # g_value_unset (¶mv[n]); 1155s # g_free (paramv); 1155s # } 1155s # 1155s # static GVariant * 1155s # _com_acme_coyote_skeleton_handle_get_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # GVariant *ret; 1155s # ret = NULL; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # g_value_init (&value, pspec->value_type); 1155s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1155s # g_value_unset (&value); 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static gboolean 1155s # _com_acme_coyote_skeleton_handle_set_property ( 1155s # GDBusConnection *connection G_GNUC_UNUSED, 1155s # const gchar *sender G_GNUC_UNUSED, 1155s # const gchar *object_path G_GNUC_UNUSED, 1155s # const gchar *interface_name G_GNUC_UNUSED, 1155s # const gchar *property_name, 1155s # GVariant *variant, 1155s # GError **error, 1155s # gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # GValue value = G_VALUE_INIT; 1155s # GParamSpec *pspec; 1155s # _ExtendedGDBusPropertyInfo *info; 1155s # gboolean ret; 1155s # ret = FALSE; 1155s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1155s # g_assert (info != NULL); 1155s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1155s # if (pspec == NULL) 1155s # { 1155s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1155s # } 1155s # else 1155s # { 1155s # if (info->use_gvariant) 1155s # g_value_set_variant (&value, variant); 1155s # else 1155s # g_dbus_gvariant_to_gvalue (variant, &value); 1155s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1155s # g_value_unset (&value); 1155s # ret = TRUE; 1155s # } 1155s # return ret; 1155s # } 1155s # 1155s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1155s # { 1155s # _com_acme_coyote_skeleton_handle_method_call, 1155s # _com_acme_coyote_skeleton_handle_get_property, 1155s # _com_acme_coyote_skeleton_handle_set_property, 1155s # {NULL} 1155s # }; 1155s # 1155s # static GDBusInterfaceInfo * 1155s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return com_acme_coyote_interface_info (); 1155s # } 1155s # 1155s # static GDBusInterfaceVTable * 1155s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1155s # { 1155s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1155s # } 1155s # 1155s # static GVariant * 1155s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1155s # 1155s # GVariantBuilder builder; 1155s # guint n; 1155s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1155s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1155s # goto out; 1155s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1155s # { 1155s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1155s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1155s # { 1155s # GVariant *value; 1155s # 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); 1155s # if (value != NULL) 1155s # { 1155s # g_variant_take_ref (value); 1155s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1155s # g_variant_unref (value); 1155s # } 1155s # } 1155s # } 1155s # out: 1155s # return g_variant_builder_end (&builder); 1155s # } 1155s # 1155s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1155s # gboolean emit_changed = FALSE; 1155s # 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # if (skeleton->priv->changed_properties_idle_source != NULL) 1155s # { 1155s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1155s # skeleton->priv->changed_properties_idle_source = NULL; 1155s # emit_changed = TRUE; 1155s # } 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # 1155s # if (emit_changed) 1155s # _com_acme_coyote_emit_changed (skeleton); 1155s # } 1155s # 1155s # static void 1155s # _com_acme_coyote_on_signal_surprised ( 1155s # ComAcmeCoyote *object) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # 1155s # GList *connections, *l; 1155s # GVariant *signal_variant; 1155s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1155s # 1155s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1155s # for (l = connections; l != NULL; l = l->next) 1155s # { 1155s # GDBusConnection *connection = l->data; 1155s # g_dbus_connection_emit_signal (connection, 1155s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1155s # signal_variant, NULL); 1155s # } 1155s # g_variant_unref (signal_variant); 1155s # g_list_free_full (connections, g_object_unref); 1155s # } 1155s # 1155s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1155s # 1155s # #else 1155s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1155s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1155s # 1155s # #endif 1155s # static void 1155s # com_acme_coyote_skeleton_finalize (GObject *object) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # guint n; 1155s # for (n = 0; n < 1; n++) 1155s # g_value_unset (&skeleton->priv->properties[n]); 1155s # g_free (skeleton->priv->properties); 1155s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1155s # if (skeleton->priv->changed_properties_idle_source != NULL) 1155s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1155s # g_main_context_unref (skeleton->priv->context); 1155s # g_mutex_clear (&skeleton->priv->lock); 1155s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_get_property (GObject *object, 1155s # guint prop_id, 1155s # GValue *value, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # } 1155s # 1155s # static gboolean 1155s # _com_acme_coyote_emit_changed (gpointer user_data) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1155s # GList *l; 1155s # GVariantBuilder builder; 1155s # GVariantBuilder invalidated_builder; 1155s # guint num_changes; 1155s # 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1155s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1155s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1155s # { 1155s # ChangedProperty *cp = l->data; 1155s # GVariant *variant; 1155s # const GValue *cur_value; 1155s # 1155s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1155s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1155s # { 1155s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1155s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1155s # g_variant_unref (variant); 1155s # num_changes++; 1155s # } 1155s # } 1155s # if (num_changes > 0) 1155s # { 1155s # GList *connections, *ll; 1155s # GVariant *signal_variant; 1155s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1155s # &builder, &invalidated_builder)); 1155s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1155s # for (ll = connections; ll != NULL; ll = ll->next) 1155s # { 1155s # GDBusConnection *connection = ll->data; 1155s # 1155s # g_dbus_connection_emit_signal (connection, 1155s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1155s # "org.freedesktop.DBus.Properties", 1155s # "PropertiesChanged", 1155s # signal_variant, 1155s # NULL); 1155s # } 1155s # g_variant_unref (signal_variant); 1155s # g_list_free_full (connections, g_object_unref); 1155s # } 1155s # else 1155s # { 1155s # g_variant_builder_clear (&builder); 1155s # g_variant_builder_clear (&invalidated_builder); 1155s # } 1155s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1155s # skeleton->priv->changed_properties = NULL; 1155s # skeleton->priv->changed_properties_idle_source = NULL; 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # return FALSE; 1155s # } 1155s # 1155s # static void 1155s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1155s # { 1155s # ChangedProperty *cp; 1155s # GList *l; 1155s # cp = NULL; 1155s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1155s # { 1155s # ChangedProperty *i_cp = l->data; 1155s # if (i_cp->info == info) 1155s # { 1155s # cp = i_cp; 1155s # break; 1155s # } 1155s # } 1155s # if (cp == NULL) 1155s # { 1155s # cp = g_new0 (ChangedProperty, 1); 1155s # cp->prop_id = prop_id; 1155s # cp->info = info; 1155s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1155s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1155s # g_value_copy (orig_value, &cp->orig_value); 1155s # } 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_notify (GObject *object, 1155s # GParamSpec *pspec G_GNUC_UNUSED) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # if (skeleton->priv->changed_properties != NULL && 1155s # skeleton->priv->changed_properties_idle_source == NULL) 1155s # { 1155s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1155s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1155s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1155s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1155s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1155s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1155s # } 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_set_property (GObject *object, 1155s # guint prop_id, 1155s # const GValue *value, 1155s # GParamSpec *pspec) 1155s # { 1155s # const _ExtendedGDBusPropertyInfo *info; 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1155s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # g_object_freeze_notify (object); 1155s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1155s # { 1155s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1155s # info->emits_changed_signal) 1155s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1155s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1155s # g_object_notify_by_pspec (object, pspec); 1155s # } 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # g_object_thaw_notify (object); 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1155s # { 1155s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1155s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1155s # #else 1155s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1155s # #endif 1155s # 1155s # g_mutex_init (&skeleton->priv->lock); 1155s # skeleton->priv->context = g_main_context_ref_thread_default (); 1155s # skeleton->priv->properties = g_new0 (GValue, 1); 1155s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1155s # } 1155s # 1155s # static const gchar * 1155s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1155s # { 1155s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1155s # const gchar *value; 1155s # g_mutex_lock (&skeleton->priv->lock); 1155s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1155s # g_mutex_unlock (&skeleton->priv->lock); 1155s # return value; 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1155s # { 1155s # GObjectClass *gobject_class; 1155s # GDBusInterfaceSkeletonClass *skeleton_class; 1155s # 1155s # gobject_class = G_OBJECT_CLASS (klass); 1155s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1155s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1155s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1155s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1155s # 1155s # 1155s # com_acme_coyote_override_properties (gobject_class, 1); 1155s # 1155s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1155s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1155s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1155s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1155s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1155s # 1155s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1155s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1155s # #endif 1155s # } 1155s # 1155s # static void 1155s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1155s # { 1155s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1155s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1155s # } 1155s # 1155s # /** 1155s # * com_acme_coyote_skeleton_new: 1155s # * 1155s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1155s # * 1155s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1155s # */ 1155s # ComAcmeCoyote * 1155s # com_acme_coyote_skeleton_new (void) 1155s # { 1155s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1155s # } 1155s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1155s # tmpdir: /tmp/tmprlj3jdh2 1155s # codegen: /usr/bin/gdbus-codegen 1155s # /tmp/tmprlj3jdh2/tmp_vg4tbbl.xml: 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprlj3jdh2/tmp_vg4tbbl.xml', '--output', '-', '--header'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifndef __STDOUT__ 1155s # #define __STDOUT__ 1155s # 1155s # #include 1155s # 1155s # G_BEGIN_DECLS 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for FDPassing */ 1155s # 1155s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1155s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1155s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1155s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1155s # 1155s # struct _FDPassing; 1155s # typedef struct _FDPassing FDPassing; 1155s # typedef struct _FDPassingIface FDPassingIface; 1155s # 1155s # struct _FDPassingIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # gboolean (*handle_hello_fd) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # const gchar *arg_greeting); 1155s # 1155s # gboolean (*handle_no_annotation) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale); 1155s # 1155s # gboolean (*handle_no_annotation_nested) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GVariant *arg_files); 1155s # 1155s # }; 1155s # 1155s # GType fdpassing_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1155s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void fdpassing_complete_hello_fd ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # const gchar *response); 1155s # 1155s # void fdpassing_complete_no_annotation ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GVariant *response, 1155s # const gchar *response_locale); 1155s # 1155s # void fdpassing_complete_no_annotation_nested ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void fdpassing_call_hello_fd ( 1155s # FDPassing *proxy, 1155s # const gchar *arg_greeting, 1155s # GUnixFDList *fd_list, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_hello_fd_finish ( 1155s # FDPassing *proxy, 1155s # gchar **out_response, 1155s # GUnixFDList **out_fd_list, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_hello_fd_sync ( 1155s # FDPassing *proxy, 1155s # const gchar *arg_greeting, 1155s # GUnixFDList *fd_list, 1155s # gchar **out_response, 1155s # GUnixFDList **out_fd_list, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_call_no_annotation ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_no_annotation_finish ( 1155s # FDPassing *proxy, 1155s # GVariant **out_response, 1155s # gchar **out_response_locale, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_no_annotation_sync ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale, 1155s # GVariant **out_response, 1155s # gchar **out_response_locale, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_call_no_annotation_nested ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_files, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_no_annotation_nested_finish ( 1155s # FDPassing *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_no_annotation_nested_sync ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_files, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1155s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1155s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1155s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1155s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1155s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1155s # 1155s # typedef struct _FDPassingProxy FDPassingProxy; 1155s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1155s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1155s # 1155s # struct _FDPassingProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # FDPassingProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _FDPassingProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void fdpassing_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # FDPassing *fdpassing_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # FDPassing *fdpassing_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1155s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1155s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1155s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1155s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1155s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1155s # 1155s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1155s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1155s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1155s # 1155s # struct _FDPassingSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # FDPassingSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _FDPassingSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # FDPassing *fdpassing_skeleton_new (void); 1155s # 1155s # 1155s # G_END_DECLS 1155s # 1155s # #endif /* __STDOUT__ */ 1155s # /tmp/tmprlj3jdh2/tmp3ec63bqz.xml: 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprlj3jdh2/tmp3ec63bqz.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifndef __STDOUT__ 1155s # #define __STDOUT__ 1155s # 1155s # #include 1155s # 1155s # G_BEGIN_DECLS 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for FDPassing */ 1155s # 1155s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1155s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1155s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1155s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1155s # 1155s # struct _FDPassing; 1155s # typedef struct _FDPassing FDPassing; 1155s # typedef struct _FDPassingIface FDPassingIface; 1155s # 1155s # struct _FDPassingIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # gboolean (*handle_hello_fd) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # const gchar *arg_greeting); 1155s # 1155s # gboolean (*handle_no_annotation) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale); 1155s # 1155s # gboolean (*handle_no_annotation_nested) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GVariant *arg_files); 1155s # 1155s # }; 1155s # 1155s # GType fdpassing_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1155s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void fdpassing_complete_hello_fd ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # const gchar *response); 1155s # 1155s # void fdpassing_complete_no_annotation ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GVariant *response, 1155s # const gchar *response_locale); 1155s # 1155s # void fdpassing_complete_no_annotation_nested ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void fdpassing_call_hello_fd ( 1155s # FDPassing *proxy, 1155s # const gchar *arg_greeting, 1155s # GUnixFDList *fd_list, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_hello_fd_finish ( 1155s # FDPassing *proxy, 1155s # gchar **out_response, 1155s # GUnixFDList **out_fd_list, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_hello_fd_sync ( 1155s # FDPassing *proxy, 1155s # const gchar *arg_greeting, 1155s # GUnixFDList *fd_list, 1155s # gchar **out_response, 1155s # GUnixFDList **out_fd_list, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_call_no_annotation ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_no_annotation_finish ( 1155s # FDPassing *proxy, 1155s # GVariant **out_response, 1155s # gchar **out_response_locale, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_no_annotation_sync ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale, 1155s # GVariant **out_response, 1155s # gchar **out_response_locale, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_call_no_annotation_nested ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_files, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_no_annotation_nested_finish ( 1155s # FDPassing *proxy, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_no_annotation_nested_sync ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_files, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1155s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1155s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1155s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1155s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1155s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1155s # 1155s # typedef struct _FDPassingProxy FDPassingProxy; 1155s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1155s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1155s # 1155s # struct _FDPassingProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # FDPassingProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _FDPassingProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void fdpassing_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # FDPassing *fdpassing_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # FDPassing *fdpassing_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1155s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1155s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1155s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1155s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1155s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1155s # 1155s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1155s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1155s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1155s # 1155s # struct _FDPassingSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # FDPassingSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _FDPassingSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # FDPassing *fdpassing_skeleton_new (void); 1155s # 1155s # 1155s # G_END_DECLS 1155s # 1155s # #endif /* __STDOUT__ */ 1155s # /tmp/tmprlj3jdh2/tmpl_fy5doc.xml: 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # 1155s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprlj3jdh2/tmpl_fy5doc.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1155s # 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': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ePICJEOlX0,guid=c8275c94c1d5aec1ac4597bd65ef9681', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.l82zvF/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests', '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.l82zvF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.yBnZGPYzvo', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.FaGUuQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.l82zvF/build.7A6/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.l82zvF/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.l82zvF/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1\'; chmod +x /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests; touch /tmp/autopkgtest.l82zvF/installed-tests-stdout /tmp/autopkgtest.l82zvF/installed-tests-stderr; /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.l82zvF/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.l82zvF/build.7A6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.l82zvF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1155s # Output: /* 1155s # * This file is generated by gdbus-codegen, do not modify it. 1155s # * 1155s # * The license of this code is the same as for the D-Bus interface description 1155s # * it was derived from. Note that it links to GLib, so must comply with the 1155s # * LGPL linking clauses. 1155s # */ 1155s # 1155s # #ifndef __STDOUT__ 1155s # #define __STDOUT__ 1155s # 1155s # #include 1155s # 1155s # G_BEGIN_DECLS 1155s # 1155s # 1155s # /* ------------------------------------------------------------------------ */ 1155s # /* Declarations for FDPassing */ 1155s # 1155s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1155s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1155s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1155s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1155s # 1155s # struct _FDPassing; 1155s # typedef struct _FDPassing FDPassing; 1155s # typedef struct _FDPassingIface FDPassingIface; 1155s # 1155s # struct _FDPassingIface 1155s # { 1155s # GTypeInterface parent_iface; 1155s # 1155s # gboolean (*handle_hello_fd) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # const gchar *arg_greeting); 1155s # 1155s # gboolean (*handle_no_annotation) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale); 1155s # 1155s # gboolean (*handle_no_annotation_nested) ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # GVariant *arg_files); 1155s # 1155s # }; 1155s # 1155s # GType fdpassing_get_type (void) G_GNUC_CONST; 1155s # 1155s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1155s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1155s # 1155s # 1155s # /* D-Bus method call completion functions: */ 1155s # void fdpassing_complete_hello_fd ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # const gchar *response); 1155s # 1155s # void fdpassing_complete_no_annotation ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list, 1155s # GVariant *response, 1155s # const gchar *response_locale); 1155s # 1155s # void fdpassing_complete_no_annotation_nested ( 1155s # FDPassing *object, 1155s # GDBusMethodInvocation *invocation, 1155s # GUnixFDList *fd_list); 1155s # 1155s # 1155s # 1155s # /* D-Bus method calls: */ 1155s # void fdpassing_call_hello_fd ( 1155s # FDPassing *proxy, 1155s # const gchar *arg_greeting, 1155s # GDBusCallFlags call_flags, 1155s # gint timeout_msec, 1155s # GUnixFDList *fd_list, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_hello_fd_finish ( 1155s # FDPassing *proxy, 1155s # gchar **out_response, 1155s # GUnixFDList **out_fd_list, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_hello_fd_sync ( 1155s # FDPassing *proxy, 1155s # const gchar *arg_greeting, 1155s # GDBusCallFlags call_flags, 1155s # gint timeout_msec, 1155s # GUnixFDList *fd_list, 1155s # gchar **out_response, 1155s # GUnixFDList **out_fd_list, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_call_no_annotation ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale, 1155s # GDBusCallFlags call_flags, 1155s # gint timeout_msec, 1155s # GUnixFDList *fd_list, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_no_annotation_finish ( 1155s # FDPassing *proxy, 1155s # GVariant **out_response, 1155s # gchar **out_response_locale, 1155s # GUnixFDList **out_fd_list, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_no_annotation_sync ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_greeting, 1155s # const gchar *arg_greeting_locale, 1155s # GDBusCallFlags call_flags, 1155s # gint timeout_msec, 1155s # GUnixFDList *fd_list, 1155s # GVariant **out_response, 1155s # gchar **out_response_locale, 1155s # GUnixFDList **out_fd_list, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_call_no_annotation_nested ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_files, 1155s # GDBusCallFlags call_flags, 1155s # gint timeout_msec, 1155s # GUnixFDList *fd_list, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # 1155s # gboolean fdpassing_call_no_annotation_nested_finish ( 1155s # FDPassing *proxy, 1155s # GUnixFDList **out_fd_list, 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # 1155s # gboolean fdpassing_call_no_annotation_nested_sync ( 1155s # FDPassing *proxy, 1155s # GVariant *arg_files, 1155s # GDBusCallFlags call_flags, 1155s # gint timeout_msec, 1155s # GUnixFDList *fd_list, 1155s # GUnixFDList **out_fd_list, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1155s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1155s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1155s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1155s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1155s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1155s # 1155s # typedef struct _FDPassingProxy FDPassingProxy; 1155s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1155s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1155s # 1155s # struct _FDPassingProxy 1155s # { 1155s # /*< private >*/ 1155s # GDBusProxy parent_instance; 1155s # FDPassingProxyPrivate *priv; 1155s # }; 1155s # 1155s # struct _FDPassingProxyClass 1155s # { 1155s # GDBusProxyClass parent_class; 1155s # }; 1155s # 1155s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1155s # #endif 1155s # 1155s # void fdpassing_proxy_new ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # FDPassing *fdpassing_proxy_new_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # FDPassing *fdpassing_proxy_new_sync ( 1155s # GDBusConnection *connection, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # void fdpassing_proxy_new_for_bus ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GAsyncReadyCallback callback, 1155s # gpointer user_data); 1155s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1155s # GAsyncResult *res, 1155s # GError **error); 1155s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1155s # GBusType bus_type, 1155s # GDBusProxyFlags flags, 1155s # const gchar *name, 1155s # const gchar *object_path, 1155s # GCancellable *cancellable, 1155s # GError **error); 1155s # 1155s # 1155s # /* ---- */ 1155s # 1155s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1155s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1155s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1155s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1155s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1155s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1155s # 1155s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1155s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1155s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1155s # 1155s # struct _FDPassingSkeleton 1155s # { 1155s # /*< private >*/ 1155s # GDBusInterfaceSkeleton parent_instance; 1155s # FDPassingSkeletonPrivate *priv; 1155s # }; 1155s # 1155s # struct _FDPassingSkeletonClass 1155s # { 1155s # GDBusInterfaceSkeletonClass parent_class; 1155s # }; 1155s # 1155s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1155s # 1155s # #if GLIB_CHECK_VERSION(2, 44, 0) 1155s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1155s # #endif 1155s # 1155s # FDPassing *fdpassing_skeleton_new (void); 1155s # 1155s # 1155s # G_END_DECLS 1155s # 1155s # #endif /* __STDOUT__ */ 1155s 1..39 1155s ok - glib/codegen.py.test 1155s # Running test: glib/gdbus-test-codegen-old.test 1155s TAP version 13 1155s # random seed: R02Sbd5abe28639cbc8e46684daedb8a0233 1155s 1..8 1155s # Start of gdbus tests 1155s # Start of codegen tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/annotations/.dirs/runtime 1155s ok 1 /gdbus/codegen/annotations 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/interface_stability/.dirs/runtime 1155s ok 2 /gdbus/codegen/interface_stability 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/object-manager/.dirs/runtime 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s ok 3 /gdbus/codegen/object-manager 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/property-naming/.dirs/runtime 1155s ok 4 /gdbus/codegen/property-naming 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/autocleanups/.dirs/runtime 1155s ok 5 /gdbus/codegen/autocleanups 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/deprecations/.dirs/runtime 1155s ok 6 /gdbus/codegen/deprecations 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1155s ok 7 /gdbus/codegen/standalone-interface-info 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FDXAK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1155s ok 8 /gdbus/codegen/unix-fd-list 1155s # End of codegen tests 1155s # End of gdbus tests 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok - glib/gdbus-test-codegen-old.test 1155s # Running test: glib/gdbus-proxy.test 1155s TAP version 13 1155s # random seed: R02S534cfad5f7e3f18f3396e63321e392e8 1155s 1..5 1155s # Start of gdbus tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/.dirs/runtime 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1156s # Executing: glib/gdbus-proxy.test 1157s ok 1 /gdbus/proxy 1157s # slow test /gdbus/proxy executed in 1.72 secs 1157s # Start of proxy tests 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-properties/.dirs/runtime 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s ok 2 /gdbus/proxy/no-properties 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s ok 3 /gdbus/proxy/wellknown-noauto 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/async/.dirs/runtime 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s ok 4 /gdbus/proxy/async 1158s # slow test /gdbus/proxy/async executed in 1.72 secs 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SRGAK2/gdbus/proxy/no-match-rule/.dirs/runtime 1158s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1158s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s ok 5 /gdbus/proxy/no-match-rule 1160s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1160s # End of proxy tests 1160s # End of gdbus tests 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok - glib/gdbus-proxy.test 1160s # Running test: glib/simple-proxy.test 1160s TAP version 13 1160s # random seed: R02Sc3e49b0c7fe1a242c7048e00b3f6056e 1160s 1..3 1160s # Start of static-proxy tests 1160s ok 1 /static-proxy/uri 1160s ok 2 /static-proxy/socks 1160s ok 3 /static-proxy/ignore 1160s # End of static-proxy tests 1160s ok - glib/simple-proxy.test 1160s # Running test: glib/protocol.test 1160s TAP version 13 1160s # random seed: R02Sfd067d39b11192063ae33b962c45b156 1160s 1..9 1160s # Start of glib tests 1160s # Start of testing tests 1160s # Start of protocol tests 1160s ok 1 /glib/testing/protocol/debug 1160s ok 2 /glib/testing/protocol/info 1160s ok 3 /glib/testing/protocol/message 1160s ok 4 /glib/testing/protocol/warning 1160s ok 5 /glib/testing/protocol/critical 1160s ok 6 /glib/testing/protocol/error 1160s ok 7 /glib/testing/protocol/gtest-message 1160s ok 8 /glib/testing/protocol/test-message 1160s ok 9 /glib/testing/protocol/test-error 1160s # End of protocol tests 1160s # End of testing tests 1160s # End of glib tests 1160s ok - glib/protocol.test 1160s # Running test: glib/utils.test 1160s TAP version 13 1160s # random seed: R02S483792d01dc0e4316ea4e4247ee4dc9e 1160s 1..40 1160s # Start of utils tests 1160s ok 1 /utils/language-names 1160s ok 2 /utils/locale-variants 1160s ok 3 /utils/version 1160s ok 4 /utils/appname 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1160s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1160s ok 5 /utils/prgname-thread-safety 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1160s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1160s ok 6 /utils/tmpdir 1160s ok 7 /utils/basic_bits 1160s ok 8 /utils/bits 1160s ok 9 /utils/swap 1160s ok 10 /utils/find-program 1160s ok 11 /utils/find-program-for-path 1160s ok 12 /utils/debug 1160s ok 13 /utils/codeset 1160s ok 14 /utils/codeset2 1160s ok 15 /utils/console-charset 1160s ok 16 /utils/gettext 1160s ok 17 /utils/username 1160s ok 18 /utils/realname 1160s ok 19 /utils/hostname 1160s ok 20 /utils/xdgdirs 1160s ok 21 /utils/specialdir 1160s # NAME: Ubuntu 1160s ok 22 /utils/os-info 1160s ok 23 /utils/clear-pointer 1160s ok 24 /utils/clear-pointer-cast 1160s ok 25 /utils/take-pointer 1160s ok 26 /utils/clear-source 1160s ok 27 /utils/misc-mem 1160s # /utils/aligned-mem summary: Aligned memory allocator 1160s # Alignment must not be zero 1160s # Alignment must be a power of two 1160s # Alignment must be a multiple of sizeof(void*) 1160s ok 28 /utils/aligned-mem 1160s # /utils/free-sized summary: Check that g_free_sized() works 1160s ok 29 /utils/free-sized 1160s ok 30 /utils/nullify 1160s ok 31 /utils/atexit 1160s ok 32 /utils/check-setuid 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1160s ok 33 /utils/int-limits 1160s ok 34 /utils/clear-list 1160s ok 35 /utils/clear-slist 1160s # Start of specialdir tests 1160s ok 36 /utils/specialdir/desktop 1160s # End of specialdir tests 1160s # Start of clear-pointer tests 1160s ok 37 /utils/clear-pointer/side-effects 1160s # End of clear-pointer tests 1160s # Start of aligned-mem tests 1160s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1160s ok 38 /utils/aligned-mem/alignment 1160s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1160s ok 39 /utils/aligned-mem/zeroed 1160s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1160s ok 40 /utils/aligned-mem/free-sized 1160s # Start of subprocess tests 1160s # End of subprocess tests 1160s # End of aligned-mem tests 1160s # End of utils tests 1160s ok - glib/utils.test 1160s # Running test: glib/signals-refcount4.test 1160s TAP version 13 1160s # random seed: R02S5f9b718d58aa2acdd4c37f18a36e43f2 1160s 1..1 1160s # Start of gobject tests 1160s # Start of refcount tests 1160s # init 0xc274182ff420 1160s # 1160s # init 0xc274182ff5c0 1160s # 1161s # Executing: glib/signals-refcount4.test 1165s # dispose 0xc274182ff420! 1165s # 1165s # dispose 0xc274182ff5c0! 1165s # 1165s ok 1 /gobject/refcount/signals 1165s # slow test /gobject/refcount/signals executed in 5.00 secs 1165s # End of refcount tests 1165s # End of gobject tests 1165s ok - glib/signals-refcount4.test 1165s # Running test: glib/bitlock.test 1165s TAP version 13 1165s # random seed: R02Scd64783ae56c8e12fd9b6020262b0111 1165s 1..1 1165s # Start of bitlock tests 1165s # Start of performance tests 1165s # max perf: iterations per second 1165s ok 1 /bitlock/performance/uncontended 1165s # End of performance tests 1165s # End of bitlock tests 1165s ok - glib/bitlock.test 1165s # Running test: glib/singleton.test 1165s TAP version 13 1165s # random seed: R02S97ef145df8cf731d84540bb7fc986c3b 1165s 1..2 1165s # Start of gobject tests 1165s # Start of singleton tests 1165s ok 1 /gobject/singleton/construction 1165s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1165s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1165s ok 2 /gobject/singleton/construct-property 1165s # End of singleton tests 1165s # End of gobject tests 1165s ok - glib/singleton.test 1165s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=180.4s; system=68.3s; maxrss=145536 1166s autopkgtest [23:46:53]: test installed-tests: -----------------------] 1167s installed-tests PASS 1167s autopkgtest [23:46:54]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1167s autopkgtest [23:46:54]: test closure-refcount: preparing testbed 1169s Reading package lists... 1169s Building dependency tree... 1169s Reading state information... 1170s Starting pkgProblemResolver with broken count: 0 1170s Starting 2 pkgProblemResolver with broken count: 0 1170s Done 1171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1171s 1 not fully installed or removed. 1171s After this operation, 0 B of additional disk space will be used. 1171s Setting up autopkgtest-satdep (0) ... 1174s (Reading database ... 75806 files and directories currently installed.) 1174s Removing autopkgtest-satdep (0) ... 1175s autopkgtest [23:47:02]: test closure-refcount: [----------------------- 1175s Running test: glib/closure-refcount.test 1175s TAP version 13 1175s # random seed: R02Seb5d78ef4041cf9ddcc2b8eea2949c8d 1175s 1..1 1175s # Start of closure tests 1175s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1175s # End of closure tests 1175s PASS: glib/closure-refcount.test 1175s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 1175s autopkgtest [23:47:02]: test closure-refcount: -----------------------] 1176s autopkgtest [23:47:03]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1176s closure-refcount PASS 1176s autopkgtest [23:47:03]: test debugcontroller: preparing testbed 1178s Reading package lists... 1178s Building dependency tree... 1178s Reading state information... 1179s Starting pkgProblemResolver with broken count: 0 1179s Starting 2 pkgProblemResolver with broken count: 0 1179s Done 1180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1180s 1 not fully installed or removed. 1180s After this operation, 0 B of additional disk space will be used. 1180s Setting up autopkgtest-satdep (0) ... 1182s (Reading database ... 75806 files and directories currently installed.) 1182s Removing autopkgtest-satdep (0) ... 1183s autopkgtest [23:47:10]: test debugcontroller: [----------------------- 1184s Running test: glib/debugcontroller.test 1184s TAP version 13 1184s # random seed: R02S694781972fcb29a4d1032e72fc5a87d4 1184s 1..3 1184s # Start of debug-controller tests 1184s # Start of dbus tests 1184s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-GIO-DEBUG: Debug output enabled 1184s # GLib-GIO-DEBUG: Debug output disabled 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 1 /debug-controller/dbus/basic 1184s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 2 /debug-controller/dbus/duplicate 1184s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-GIO-DEBUG: Debug output enabled 1184s # GLib-GIO-DEBUG: Debug output disabled 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 3 /debug-controller/dbus/properties 1184s # End of dbus tests 1184s # End of debug-controller tests 1184s PASS: glib/debugcontroller.test 1184s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5760 1184s autopkgtest [23:47:11]: test debugcontroller: -----------------------] 1184s autopkgtest [23:47:11]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1184s debugcontroller PASS 1185s autopkgtest [23:47:12]: test gdbus-server-auth: preparing testbed 1189s Reading package lists... 1189s Building dependency tree... 1189s Reading state information... 1189s Starting pkgProblemResolver with broken count: 0 1189s Starting 2 pkgProblemResolver with broken count: 0 1189s Done 1190s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1190s 1 not fully installed or removed. 1190s After this operation, 0 B of additional disk space will be used. 1190s Setting up autopkgtest-satdep (0) ... 1193s (Reading database ... 75806 files and directories currently installed.) 1193s Removing autopkgtest-satdep (0) ... 1194s autopkgtest [23:47:21]: test gdbus-server-auth: [----------------------- 1195s Running test: glib/gdbus-server-auth.test 1195s TAP version 13 1195s # random seed: R02S7c4885c3d28520b772c0356d21caa961 1195s 1..9 1195s # Start of gdbus tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-R6M4J2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-R6M4J2/dbus-AF5AA82U 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15896 1195s ok 1 /gdbus/server-auth 1195s # Start of server-auth tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/abstract/.dirs/runtime 1195s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-PQ33J2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-PQ33J2/dbus-mt0xjTwD 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15896 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15896 1195s ok 2 /gdbus/server-auth/abstract 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/tcp/.dirs/runtime 1195s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1195s # Connectable address: tcp:host=127.0.0.1,port=39501 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1196s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1196s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1196s ok 3 /gdbus/server-auth/tcp 1196s # slow test /gdbus/server-auth/tcp executed in 0.91 secs 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/.dirs/runtime 1196s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-7334J2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1196s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-7334J2/dbus-ha1e7wiD 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15896 1196s ok 4 /gdbus/server-auth/anonymous 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/.dirs/runtime 1196s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-TUH5J2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1196s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-TUH5J2/dbus-PIyE6wT0 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1196s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15896 1196s ok 5 /gdbus/server-auth/external 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/.dirs/runtime 1196s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-HEN5J2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1196s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-HEN5J2/dbus-5cJQbTFs 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15896 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1196s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15896 1196s ok 6 /gdbus/server-auth/sha1 1196s # Start of anonymous tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1196s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1196s # Connectable address: tcp:host=127.0.0.1,port=36249 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1196s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1197s ok 7 /gdbus/server-auth/anonymous/tcp 1197s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1197s # End of anonymous tests 1197s # Start of external tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1197s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-VBW6J2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1197s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LXM4J2/gdbus-server-auth-VBW6J2/dbus-FPWBcO6e 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15896 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15896,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15896 1197s ok 8 /gdbus/server-auth/external/require-same-user 1197s # End of external tests 1197s # Start of sha1 tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LXM4J2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1197s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1197s # Connectable address: tcp:host=127.0.0.1,port=43349 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1198s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1198s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1198s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1198s ok 9 /gdbus/server-auth/sha1/tcp 1198s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1198s # End of sha1 tests 1198s # End of server-auth tests 1198s # End of gdbus tests 1198s PASS: glib/gdbus-server-auth.test 1198s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8320 1198s autopkgtest [23:47:25]: test gdbus-server-auth: -----------------------] 1199s gdbus-server-auth PASS 1199s autopkgtest [23:47:26]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1199s autopkgtest [23:47:26]: test gdbus-threading: preparing testbed 1201s Reading package lists... 1201s Building dependency tree... 1201s Reading state information... 1201s Starting pkgProblemResolver with broken count: 0 1201s Starting 2 pkgProblemResolver with broken count: 0 1201s Done 1203s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1203s 1 not fully installed or removed. 1203s After this operation, 0 B of additional disk space will be used. 1203s Setting up autopkgtest-satdep (0) ... 1205s (Reading database ... 75806 files and directories currently installed.) 1205s Removing autopkgtest-satdep (0) ... 1206s autopkgtest [23:47:33]: test gdbus-threading: [----------------------- 1207s Running test: glib/gdbus-threading.test 1207s TAP version 13 1207s # random seed: R02S9bcd60532b984f7d764196e76b2a5c2e 1207s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1207s 1..3 1207s # Start of gdbus tests 1207s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/home 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/cache 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/system-config2 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/config 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/system-data2 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/data 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/state 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PKGEK2/gdbus/delivery-in-thread/.dirs/runtime 1207s ok 1 /gdbus/delivery-in-thread 1207s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/home 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/cache 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/system-config2 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/config 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/system-data2 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/data 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/state 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PKGEK2/gdbus/method-calls-in-thread/.dirs/runtime 1208s ok 2 /gdbus/method-calls-in-thread 1208s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1208s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/home 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/cache 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/system-config2 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/config 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/system-data2 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/data 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/state 1208s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PKGEK2/gdbus/threaded-singleton/.dirs/runtime 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf704200040a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: refcount of 0xf704200040a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf704200040a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf704200069c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420006830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420005cb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420005c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420005c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420005c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420005c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420003d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: refcount of 0xf70420001c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1208s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf704200071a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf704200071a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf704200069a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf70420006a20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf704200047a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf704200066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: refcount of 0xf70420006ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1209s ok 3 /gdbus/threaded-singleton 1209s # slow test /gdbus/threaded-singleton executed in 1.84 secs 1209s # End of gdbus tests 1209s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1209s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1209s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1209s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1209s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1209s PASS: glib/gdbus-threading.test 1209s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=5504 1210s autopkgtest [23:47:37]: test gdbus-threading: -----------------------] 1211s gdbus-threading PASS 1211s autopkgtest [23:47:38]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1211s autopkgtest [23:47:38]: test gmenumodel: preparing testbed 1214s Reading package lists... 1215s Building dependency tree... 1215s Reading state information... 1215s Starting pkgProblemResolver with broken count: 0 1215s Starting 2 pkgProblemResolver with broken count: 0 1215s Done 1216s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1216s 1 not fully installed or removed. 1216s After this operation, 0 B of additional disk space will be used. 1216s Setting up autopkgtest-satdep (0) ... 1219s (Reading database ... 75806 files and directories currently installed.) 1219s Removing autopkgtest-satdep (0) ... 1220s autopkgtest [23:47:47]: test gmenumodel: [----------------------- 1220s Running test: glib/gmenumodel.test 1220s TAP version 13 1220s # random seed: R02Saa58b0ad2c29950be5231a01be837597 1220s 1..14 1220s # Start of gmenu tests 1221s ok 1 /gmenu/equality 1221s # slow test /gmenu/equality executed in 0.61 secs 1221s ok 2 /gmenu/random 1221s # slow test /gmenu/random executed in 0.79 secs 1221s ok 3 /gmenu/attributes 1221s ok 4 /gmenu/links 1221s ok 5 /gmenu/mutable 1221s ok 6 /gmenu/convenience 1221s ok 7 /gmenu/menuitem 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1221s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1221s ok 8 /gmenu/input-validation 1221s # Start of dbus tests 1221s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1222s ok 9 /gmenu/dbus/roundtrip 1222s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1223s ok 10 /gmenu/dbus/subscriptions 1224s ok 11 /gmenu/dbus/threaded 1224s # slow test /gmenu/dbus/threaded executed in 0.75 secs 1224s # Start of peer tests 1225s ok 12 /gmenu/dbus/peer/roundtrip 1225s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 1225s Executing: glib/gmenumodel.test 1225s ok 13 /gmenu/dbus/peer/subscriptions 1225s # End of peer tests 1225s # End of dbus tests 1225s # Start of attributes tests 1225s ok 14 /gmenu/attributes/iterate 1225s # End of attributes tests 1225s # End of gmenu tests 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s PASS: glib/gmenumodel.test 1225s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.7s; system=0.2s; maxrss=28288 1225s cleaning up pid 17424 1226s autopkgtest [23:47:53]: test gmenumodel: -----------------------] 1227s autopkgtest [23:47:54]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1227s gmenumodel PASS 1227s autopkgtest [23:47:54]: test mainloop: preparing testbed 1230s Reading package lists... 1231s Building dependency tree... 1231s Reading state information... 1231s Starting pkgProblemResolver with broken count: 0 1231s Starting 2 pkgProblemResolver with broken count: 0 1231s Done 1232s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1232s 1 not fully installed or removed. 1232s After this operation, 0 B of additional disk space will be used. 1232s Setting up autopkgtest-satdep (0) ... 1235s (Reading database ... 75806 files and directories currently installed.) 1235s Removing autopkgtest-satdep (0) ... 1236s autopkgtest [23:48:03]: test mainloop: [----------------------- 1236s Running test: glib/mainloop.test 1236s TAP version 13 1236s # random seed: R02S566c1ea5efd6ec57f2b1dc5bd59759bf 1236s 1..45 1236s # Start of maincontext tests 1236s ok 1 /maincontext/basic 1236s # Add same-priority sources: 13 1236s # Find each source: 2 1236s # Remove in random order: 31 1236s ok 2 /maincontext/nsources_same_priority 1236s # Add different-priority sources: 13 1236s # Find each source: 2 1236s # Remove in random order: 35 1236s ok 3 /maincontext/nsources_different_priority 1236s # Add sources from threads: 86 1236s # Remove sources from threads: 124 1236s ok 4 /maincontext/nsources_threadpool 1236s ok 5 /maincontext/source_finalization 1236s # /maincontext/idle-once summary: Test g_idle_add_once() works 1236s ok 6 /maincontext/idle-once 1236s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1236s ok 7 /maincontext/timeout-once 1236s # Start of source_finalization_from_source tests 1236s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 8 /maincontext/source_finalization_from_source/0 1236s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 9 /maincontext/source_finalization_from_source/1 1236s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 10 /maincontext/source_finalization_from_source/2 1236s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 11 /maincontext/source_finalization_from_source/3 1236s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 12 /maincontext/source_finalization_from_source/4 1236s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 13 /maincontext/source_finalization_from_source/5 1236s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 14 /maincontext/source_finalization_from_source/6 1236s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 15 /maincontext/source_finalization_from_source/7 1236s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 16 /maincontext/source_finalization_from_source/8 1236s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1236s ok 17 /maincontext/source_finalization_from_source/9 1236s # End of source_finalization_from_source tests 1236s # Start of source_finalization_from_dispatch tests 1236s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1236s ok 18 /maincontext/source_finalization_from_dispatch/0 1236s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1236s ok 19 /maincontext/source_finalization_from_dispatch/1 1236s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1236s ok 20 /maincontext/source_finalization_from_dispatch/2 1236s # End of source_finalization_from_dispatch tests 1236s # End of maincontext tests 1236s # Start of mainloop tests 1236s ok 21 /mainloop/basic 1236s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1236s ok 23 /mainloop/priorities 1237s ok 24 /mainloop/invoke 1237s # slow test /mainloop/invoke executed in 0.50 secs 1238s ok 25 /mainloop/child_sources 1238s # slow test /mainloop/child_sources executed in 1.17 secs 1240s ok 26 /mainloop/recursive_child_sources 1240s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1240s ok 27 /mainloop/recursive_loop_child_sources 1240s ok 28 /mainloop/swapping_child_sources 1240s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1240s ok 29 /mainloop/blocked_child_sources 1241s Executing: glib/mainloop.test 1241s ok 30 /mainloop/source_time 1241s # slow test /mainloop/source_time executed in 1.00 secs 1241s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1241s ok 31 /mainloop/overflow 1242s ok 32 /mainloop/ready-time 1242s # slow test /mainloop/ready-time executed in 0.50 secs 1242s ok 33 /mainloop/wakeup 1242s ok 34 /mainloop/remove-invalid 1242s ok 35 /mainloop/unref-while-pending 1242s ok 36 /mainloop/unix-fd 1242s # slow test /mainloop/unix-fd executed in 0.53 secs 1242s ok 37 /mainloop/unix-fd-source 1242s ok 38 /mainloop/source-unix-fd-api 1242s ok 39 /mainloop/wait 1242s ok 40 /mainloop/unix-file-poll 1242s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1242s ok 41 /mainloop/unix-fd-priority 1242s ok 42 /mainloop/nfds 1242s ok 43 /mainloop/steal-fd 1242s # Start of ownerless-polling tests 1242s ok 44 /mainloop/ownerless-polling/attach-first 1242s ok 45 /mainloop/ownerless-polling/pop-first 1242s # End of ownerless-polling tests 1242s # End of mainloop tests 1242s PASS: glib/mainloop.test 1242s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.7s; maxrss=15400 1243s autopkgtest [23:48:10]: test mainloop: -----------------------] 1243s mainloop PASS 1243s autopkgtest [23:48:10]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1244s autopkgtest [23:48:11]: test memory-monitor-dbus: preparing testbed 1246s Reading package lists... 1246s Building dependency tree... 1246s Reading state information... 1247s Starting pkgProblemResolver with broken count: 0 1247s Starting 2 pkgProblemResolver with broken count: 0 1247s Done 1248s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1248s 1 not fully installed or removed. 1248s After this operation, 0 B of additional disk space will be used. 1248s Setting up autopkgtest-satdep (0) ... 1251s (Reading database ... 75806 files and directories currently installed.) 1251s Removing autopkgtest-satdep (0) ... 1252s autopkgtest [23:48:19]: test memory-monitor-dbus: [----------------------- 1252s Running test: glib/memory-monitor-dbus.test 1253s TAP version 13 1253s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1253s # Received memory warning signal, level 1253s # Received memory warning signal, level 1253s # Received memory warning signal, level 1253s 1..1 1253s PASS: glib/memory-monitor-dbus.test 1253s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.1s; maxrss=24876 1253s autopkgtest [23:48:20]: test memory-monitor-dbus: -----------------------] 1254s autopkgtest [23:48:21]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1254s memory-monitor-dbus PASS 1254s autopkgtest [23:48:21]: test socket: preparing testbed 1256s Reading package lists... 1256s Building dependency tree... 1256s Reading state information... 1257s Starting pkgProblemResolver with broken count: 0 1257s Starting 2 pkgProblemResolver with broken count: 0 1257s Done 1258s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1258s 1 not fully installed or removed. 1258s After this operation, 0 B of additional disk space will be used. 1258s Setting up autopkgtest-satdep (0) ... 1260s (Reading database ... 75806 files and directories currently installed.) 1260s Removing autopkgtest-satdep (0) ... 1261s autopkgtest [23:48:28]: test socket: [----------------------- 1262s Running test: glib/socket.test 1262s TAP version 13 1262s # random seed: R02S257a16dc34bf03f9295fde781fa11c39 1262s 1..28 1262s # Start of socket tests 1263s ok 1 /socket/ipv4_sync 1263s # slow test /socket/ipv4_sync executed in 1.00 secs 1264s ok 2 /socket/ipv4_async 1264s # slow test /socket/ipv4_async executed in 1.00 secs 1264s ok 3 /socket/ipv6_sync 1264s ok 4 /socket/ipv6_async 1264s ok 5 /socket/ipv6_v4mapped 1265s ok 6 /socket/close_graceful 1265s # slow test /socket/close_graceful executed in 1.00 secs 1265s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1265s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1265s ok 8 /socket/fd_reuse 1265s ok 9 /socket/address 1265s ok 10 /socket/unix-from-fd 1265s ok 11 /socket/unix-connection 1265s ok 12 /socket/unix-connection-ancillary-data 1265s ok 13 /socket/source-postmortem 1265s ok 14 /socket/read_write 1265s ok 15 /socket/read_writev 1265s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1265s ok 16 /socket/receive_bytes 1265s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1265s ok 17 /socket/receive_bytes_from 1265s # Start of ipv4_sync tests 1265s ok 18 /socket/ipv4_sync/datagram 1265s # Start of datagram tests 1266s ok 19 /socket/ipv4_sync/datagram/timeouts 1266s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1266s # End of datagram tests 1266s # End of ipv4_sync tests 1266s # Start of ipv6_sync tests 1266s ok 20 /socket/ipv6_sync/datagram 1266s # Start of datagram tests 1267s ok 21 /socket/ipv6_sync/datagram/timeouts 1267s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1267s # End of datagram tests 1267s # End of ipv6_sync tests 1267s # Start of reuse tests 1267s ok 22 /socket/reuse/tcp 1267s ok 23 /socket/reuse/udp 1267s # End of reuse tests 1267s # Start of get_available tests 1267s ok 24 /socket/get_available/datagram 1267s ok 25 /socket/get_available/stream 1267s # End of get_available tests 1267s # Start of credentials tests 1267s # Supported on this OS: GCredentials:linux-ucred:pid=0 1267s ok 26 /socket/credentials/tcp_client 1267s # Supported on this OS: GCredentials:linux-ucred:pid=0 1267s ok 27 /socket/credentials/tcp_server 1267s # Supported on this OS: GCredentials:linux-ucred:pid=18256,uid=1000,gid=1000 1267s ok 28 /socket/credentials/unix_socketpair 1267s # End of credentials tests 1267s # End of socket tests 1267s PASS: glib/socket.test 1267s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 1267s autopkgtest [23:48:34]: test socket: -----------------------] 1268s socket PASS 1268s autopkgtest [23:48:35]: test socket: - - - - - - - - - - results - - - - - - - - - - 1268s autopkgtest [23:48:35]: test testfilemonitor: preparing testbed 1270s Reading package lists... 1270s Building dependency tree... 1270s Reading state information... 1271s Starting pkgProblemResolver with broken count: 0 1271s Starting 2 pkgProblemResolver with broken count: 0 1271s Done 1272s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1272s 1 not fully installed or removed. 1272s After this operation, 0 B of additional disk space will be used. 1272s Setting up autopkgtest-satdep (0) ... 1275s (Reading database ... 75806 files and directories currently installed.) 1275s Removing autopkgtest-satdep (0) ... 1276s autopkgtest [23:48:43]: test testfilemonitor: [----------------------- 1277s Running test: glib/testfilemonitor.test 1277s TAP version 13 1277s # random seed: R02Sc44fa428163ca7c4018dad2cfb61c3ba 1277s 1..8 1277s # Start of monitor tests 1277s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1277s # Using temporary directory: /tmp/gio-test-testfilemonitor_8MCDK2 1277s # Using GFileMonitor GInotifyFileMonitor 1279s ok 1 /monitor/atomic-replace 1279s # slow test /monitor/atomic-replace executed in 2.00 secs 1279s # Using temporary directory: /tmp/gio-test-testfilemonitor_BN7BK2 1279s # Using GFileMonitor GInotifyFileMonitor 1281s ok 2 /monitor/file-changes 1281s # slow test /monitor/file-changes executed in 2.50 secs 1281s # Using temporary directory: /tmp/gio-test-testfilemonitor_8UR1J2 1281s # Using GFileMonitor GInotifyFileMonitor 1282s Executing: glib/testfilemonitor.test 1285s ok 3 /monitor/dir-monitor 1285s # slow test /monitor/dir-monitor executed in 3.51 secs 1285s # Using temporary directory: /tmp/gio-test-testfilemonitor_O8ECK2 1285s # Using GFileMonitor GInotifyFileMonitor 1287s Executing: glib/testfilemonitor.test 1292s Executing: glib/testfilemonitor.test 1297s Executing: glib/testfilemonitor.test 1302s Executing: glib/testfilemonitor.test 1307s Executing: glib/testfilemonitor.test 1310s ok 4 /monitor/dir-not-existent 1310s # slow test /monitor/dir-not-existent executed in 25.02 secs 1310s # Using temporary directory: /tmp/gio-test-testfilemonitor_MPGBK2 1310s # Using GFileMonitor 0 GInotifyFileMonitor 1310s # Using GFileMonitor 1 GInotifyFileMonitor 1312s ok 5 /monitor/cross-dir-moves 1312s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1312s # Using temporary directory: /tmp/gio-test-testfilemonitor_46FBK2 1312s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1312s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1312s ok 6 /monitor/finalize-in-callback 1312s # Using temporary directory: /tmp/gio-test-testfilemonitor_A2MBK2 1312s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1312s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1312s ok 7 /monitor/root 1312s # Start of file tests 1312s # Using temporary directory: /tmp/gio-test-testfilemonitor_55MBK2 1312s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1312s # Running with hard link tests 1312s # Using GFileMonitor GInotifyFileMonitor 1312s Executing: glib/testfilemonitor.test 1315s # Event 0 at expected index 7 skipped because it is marked as optional 1315s # Event 2 at expected index 11 skipped because it is marked as optional 1315s ok 8 /monitor/file/hard-links 1315s # slow test /monitor/file/hard-links executed in 3.51 secs 1315s # End of file tests 1315s # End of monitor tests 1315s PASS: glib/testfilemonitor.test 1315s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5120 1316s autopkgtest [23:49:23]: test testfilemonitor: -----------------------] 1316s autopkgtest [23:49:23]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1316s testfilemonitor PASS 1317s autopkgtest [23:49:24]: test thread-pool-slow: preparing testbed 1320s Reading package lists... 1321s Building dependency tree... 1321s Reading state information... 1321s Starting pkgProblemResolver with broken count: 0 1321s Starting 2 pkgProblemResolver with broken count: 0 1321s Done 1322s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1322s 1 not fully installed or removed. 1322s After this operation, 0 B of additional disk space will be used. 1322s Setting up autopkgtest-satdep (0) ... 1325s (Reading database ... 75806 files and directories currently installed.) 1325s Removing autopkgtest-satdep (0) ... 1326s autopkgtest [23:49:33]: test thread-pool-slow: [----------------------- 1326s Running test: glib/thread-pool-slow.test 1326s TAP version 13 1326s # random seed: R02S198bdc986adef29296a586de6bd3b680 1326s 1..7 1326s # Start of threadpool tests 1326s ok 1 /threadpool/functions 1327s ok 2 /threadpool/stop-unused 1327s # slow test /threadpool/stop-unused executed in 0.51 secs 1327s ok 3 /threadpool/pools 1327s # [unsorted] ===> pushed new thread with id:4, number of threads:1, unprocessed:1 1327s # [unsorted] ===> pushed new thread with id:41, number of threads:2, unprocessed:2 1327s # [unsorted] ===> pushed new thread with id:23, number of threads:3, unprocessed:3 1327s # [unsorted] ===> pushed new thread with id:78, number of threads:4, unprocessed:4 1327s # [unsorted] ===> pushed new thread with id:10, number of threads:5, unprocessed:5 1327s # [unsorted] ===> pushed new thread with id:99, number of threads:6, unprocessed:6 1327s # [unsorted] ===> pushed new thread with id:43, number of threads:7, unprocessed:1 1327s # [unsorted] ===> pushed new thread with id:84, number of threads:8, unprocessed:2 1327s # [unsorted] ===> pushed new thread with id:10, number of threads:9, unprocessed:3 1327s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:4 1327s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:5 1327s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:6 1327s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:6 1327s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:7 1327s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:6 1327s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:7 1327s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:8 1327s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:9 1327s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:10 1327s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:11 1327s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:12 1327s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:13 1327s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:14 1327s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:15 1327s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:16 1327s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:17 1327s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:18 1327s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:19 1327s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:20 1327s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:21 1327s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:22 1327s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:23 1327s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:24 1327s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:25 1327s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:26 1327s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:27 1327s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:28 1327s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:29 1327s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:30 1327s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:31 1327s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:32 1327s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:33 1327s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:34 1327s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:35 1327s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:36 1327s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:37 1327s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:38 1327s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:39 1327s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:40 1327s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:41 1327s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:42 1327s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:43 1327s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:44 1327s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:45 1327s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:46 1327s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:47 1327s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:48 1327s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:49 1327s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:50 1327s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:51 1327s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:52 1327s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:53 1327s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:54 1327s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:55 1327s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:56 1327s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:57 1327s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:58 1327s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:59 1327s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:60 1327s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:61 1327s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:62 1327s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:63 1327s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:64 1327s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:65 1327s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:66 1327s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:67 1327s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:68 1327s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:69 1327s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:70 1327s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:71 1327s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:72 1327s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:73 1327s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:74 1327s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:75 1327s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:76 1327s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:77 1327s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:78 1327s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:79 1327s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:80 1327s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:81 1327s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:82 1327s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:83 1327s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:84 1327s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:85 1327s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:86 1327s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:87 1327s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:88 1327s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:89 1327s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:90 1327s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:91 1327s ok 4 /threadpool/no-sort 1327s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:1 1327s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:2 1327s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:3 1327s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:4 1327s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:5 1327s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:6 1327s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:7 1327s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:8 1327s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:9 1327s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:10 1327s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:11 1327s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:12 1327s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:13 1327s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:14 1327s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:15 1327s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:16 1327s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:17 1327s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:18 1327s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:19 1327s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:20 1327s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:21 1327s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:22 1327s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:23 1327s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:24 1327s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:25 1327s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:26 1327s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:27 1327s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:28 1327s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:29 1327s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:30 1327s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:31 1327s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:32 1327s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:33 1327s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:34 1327s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:35 1327s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:36 1327s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:37 1327s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:38 1327s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:39 1327s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:40 1327s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:41 1327s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:42 1327s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:43 1327s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:44 1327s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:45 1327s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:46 1327s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:47 1327s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:48 1327s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:49 1327s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:50 1327s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:51 1327s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:52 1327s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:53 1327s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:54 1327s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:55 1327s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:56 1327s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:57 1327s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:58 1327s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:59 1327s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:60 1327s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:61 1327s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:62 1327s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:63 1327s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:64 1327s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:65 1327s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:66 1327s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:67 1327s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:68 1327s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:69 1327s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:70 1327s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:71 1327s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:72 1327s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:73 1327s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:74 1327s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:75 1327s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:76 1327s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:77 1327s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:78 1327s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:79 1327s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:80 1327s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:81 1327s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:82 1327s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:83 1327s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:84 1327s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:85 1327s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:86 1327s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:87 1327s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:88 1327s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:89 1327s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:90 1327s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:91 1327s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:92 1327s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:93 1327s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:94 1327s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:95 1327s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:96 1327s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:97 1327s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:98 1327s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:99 1327s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:100 1327s # Starting thread pool processing 1327s ok 5 /threadpool/sort 1328s ok 6 /threadpool/stop-unused-multiple 1328s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1328s # Pool idle thread count: 0, unprocessed jobs: 40 1328s # Pool idle thread count: 0, unprocessed jobs: 0 1328s # Pool idle thread count: 0, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s Executing: glib/thread-pool-slow.test 1333s # Pool idle thread count: 10, unprocessed jobs: 0 1333s # Pool idle thread count: 10, unprocessed jobs: 0 1333s # Pool idle thread count: 10, unprocessed jobs: 0 1333s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1335s # Pool idle thread count: 10, unprocessed jobs: 0 1335s # Pool idle thread count: 10, unprocessed jobs: 0 1335s # Pool idle thread count: 10, unprocessed jobs: 0 1335s # Pool idle thread count: 10, unprocessed jobs: 0 1336s # Pool idle thread count: 10, unprocessed jobs: 0 1336s # Pool idle thread count: 10, unprocessed jobs: 0 1336s # Pool idle thread count: 10, unprocessed jobs: 0 1336s # Pool idle thread count: 10, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 2 1337s # Pool idle thread count: 10, unprocessed jobs: 2 1337s # Pool idle thread count: 8, unprocessed jobs: 0 1337s # Pool idle thread count: 8, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 0 1337s Executing: glib/thread-pool-slow.test 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1341s # Pool idle thread count: 2, unprocessed jobs: 0 1341s # Pool idle thread count: 2, unprocessed jobs: 0 1341s # Pool idle thread count: 2, unprocessed jobs: 0 1341s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s Executing: glib/thread-pool-slow.test 1343s # Pool idle thread count: 2, unprocessed jobs: 0 1343s # Pool idle thread count: 2, unprocessed jobs: 0 1343s # Pool idle thread count: 2, unprocessed jobs: 0 1343s # Pool idle thread count: 2, unprocessed jobs: 0 1344s # Pool idle thread count: 2, unprocessed jobs: 0 1344s # Pool idle thread count: 2, unprocessed jobs: 0 1344s # Pool idle thread count: 2, unprocessed jobs: 0 1344s # Pool idle thread count: 2, unprocessed jobs: 0 1345s # Pool idle thread count: 2, unprocessed jobs: 0 1345s # Pool idle thread count: 2, unprocessed jobs: 0 1345s # Pool idle thread count: 2, unprocessed jobs: 0 1345s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1347s # Pool idle thread count: 2, unprocessed jobs: 0 1347s # Pool idle thread count: 2, unprocessed jobs: 0 1347s Executing: glib/thread-pool-slow.test 1347s ok 7 /threadpool/idle-time 1347s # slow test /threadpool/idle-time executed in 19.53 secs 1347s # End of threadpool tests 1347s PASS: glib/thread-pool-slow.test 1347s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3456 1347s autopkgtest [23:49:54]: test thread-pool-slow: -----------------------] 1348s autopkgtest [23:49:55]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1348s thread-pool-slow PASS 1348s autopkgtest [23:49:55]: test threadtests: preparing testbed 1350s Reading package lists... 1351s Building dependency tree... 1351s Reading state information... 1351s Starting pkgProblemResolver with broken count: 0 1351s Starting 2 pkgProblemResolver with broken count: 0 1351s Done 1355s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1355s 1 not fully installed or removed. 1355s After this operation, 0 B of additional disk space will be used. 1355s Setting up autopkgtest-satdep (0) ... 1357s (Reading database ... 75806 files and directories currently installed.) 1357s Removing autopkgtest-satdep (0) ... 1358s autopkgtest [23:50:05]: test threadtests: [----------------------- 1359s Running test: glib/threadtests.test 1359s TAP version 13 1359s # random seed: R02S27b65819a34e9f3b8a2269a640aaf373 1359s 1..5 1359s # Start of GObject tests 1359s ok 1 /GObject/threaded-object-init 1360s ok 2 /GObject/threaded-weak-ref 1360s # slow test /GObject/threaded-weak-ref executed in 0.65 secs 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1360s # /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 1360s ok 3 /GObject/threaded-toggle-notify 1360s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1360s # Start of threaded-weak-ref tests 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1360s # /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. 1360s ok 5 /GObject/threaded-weak-ref/on-finalization 1360s # End of threaded-weak-ref tests 1360s # End of GObject tests 1360s PASS: glib/threadtests.test 1360s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.4s; maxrss=3200 1360s autopkgtest [23:50:07]: test threadtests: -----------------------] 1361s threadtests PASS 1361s autopkgtest [23:50:08]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1361s autopkgtest [23:50:08]: test timeout: preparing testbed 1364s Reading package lists... 1364s Building dependency tree... 1364s Reading state information... 1365s Starting pkgProblemResolver with broken count: 0 1365s Starting 2 pkgProblemResolver with broken count: 0 1365s Done 1366s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1366s 1 not fully installed or removed. 1366s After this operation, 0 B of additional disk space will be used. 1366s Setting up autopkgtest-satdep (0) ... 1369s (Reading database ... 75806 files and directories currently installed.) 1369s Removing autopkgtest-satdep (0) ... 1370s autopkgtest [23:50:17]: test timeout: [----------------------- 1370s Running test: glib/timeout.test 1370s TAP version 13 1370s # random seed: R02S8b4ba472c7c01996ff8e36e27ce7adb2 1370s 1..5 1370s # Start of timeout tests 1370s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1372s ok 1 /timeout/seconds 1372s # slow test /timeout/seconds executed in 2.10 secs 1374s ok 2 /timeout/seconds-once 1374s # slow test /timeout/seconds-once executed in 2.10 secs 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1375s Executing: glib/timeout.test 1377s ok 3 /timeout/weeks-overflow 1377s # slow test /timeout/weeks-overflow executed in 2.10 secs 1377s ok 4 /timeout/far-future-ready-time 1380s Executing: glib/timeout.test 1385s Executing: glib/timeout.test 1387s ok 5 /timeout/rounding 1387s # slow test /timeout/rounding executed in 10.67 secs 1387s # End of timeout tests 1387s PASS: glib/timeout.test 1387s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 1388s autopkgtest [23:50:35]: test timeout: -----------------------] 1388s timeout PASS 1388s autopkgtest [23:50:35]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1388s autopkgtest [23:50:35]: test timer: preparing testbed 1390s Reading package lists... 1390s Building dependency tree... 1390s Reading state information... 1391s Starting pkgProblemResolver with broken count: 0 1391s Starting 2 pkgProblemResolver with broken count: 0 1391s Done 1396s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1396s 1 not fully installed or removed. 1396s After this operation, 0 B of additional disk space will be used. 1396s Setting up autopkgtest-satdep (0) ... 1400s (Reading database ... 75806 files and directories currently installed.) 1400s Removing autopkgtest-satdep (0) ... 1401s autopkgtest [23:50:48]: test timer: [----------------------- 1401s Running test: glib/timer.test 1401s TAP version 13 1401s # random seed: R02Sfe5bbcdbaee65031af7dfdb79f936891 1401s 1..10 1401s # Start of timer tests 1401s ok 1 /timer/basic 1401s ok 2 /timer/stop 1401s ok 3 /timer/continue 1401s ok 4 /timer/reset 1401s ok 5 /timer/is_active 1401s # End of timer tests 1401s # Start of timeval tests 1401s ok 6 /timeval/add 1401s ok 7 /timeval/from-iso8601 1401s ok 8 /timeval/to-iso8601 1401s # Start of to-iso8601 tests 1401s ok 9 /timeval/to-iso8601/overflow 1401s # End of to-iso8601 tests 1401s # End of timeval tests 1401s # Start of usleep tests 1401s ok 10 /usleep/with-zero-wait 1401s # End of usleep tests 1401s PASS: glib/timer.test 1401s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 1402s autopkgtest [23:50:49]: test timer: -----------------------] 1402s timer PASS 1402s autopkgtest [23:50:49]: test timer: - - - - - - - - - - results - - - - - - - - - - 1403s autopkgtest [23:50:50]: test 1065022-futureproofing: preparing testbed 1517s autopkgtest [23:52:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1518s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 1518s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [451 kB] 1518s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2626 kB] 1518s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 1518s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.2 kB] 1518s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [596 kB] 1518s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 1518s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 1518s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 1518s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [3013 kB] 1519s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 1519s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.1 kB] 1519s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 1520s Fetched 6916 kB in 2s (4595 kB/s) 1520s Reading package lists... 1523s Reading package lists... 1523s Building dependency tree... 1523s Reading state information... 1523s Calculating upgrade... 1524s The following packages will be REMOVED: 1524s libglib2.0-0 1524s The following NEW packages will be installed: 1524s libglib2.0-0t64 xdg-user-dirs 1524s The following packages will be upgraded: 1524s gir1.2-glib-2.0 klibc-utils libglib2.0-data libklibc 1524s 4 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1524s Need to get 1940 kB of archives. 1524s After this operation, 138 kB of additional disk space will be used. 1524s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 1524s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 1524s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 1524s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 1524s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 klibc-utils arm64 2.0.13-4 [114 kB] 1524s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libklibc arm64 2.0.13-4 [51.4 kB] 1527s Fetched 1940 kB in 1s (2803 kB/s) 1527s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 1527s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 1527s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 1528s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 1528s udisks2 depends on libglib2.0-0 (>= 2.77.0). 1528s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 1528s python3-gi depends on libglib2.0-0 (>= 2.77.0). 1528s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 1528s netplan.io depends on libglib2.0-0 (>= 2.70.0). 1528s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 1528s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 1528s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 1528s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 1528s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 1528s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 1528s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 1528s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 1528s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 1528s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 1528s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 1528s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 1528s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 1528s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 1528s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 1528s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 1528s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 1528s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 1528s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 1528s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 1528s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1528s fwupd depends on libglib2.0-0 (>= 2.79.0). 1528s bolt depends on libglib2.0-0 (>= 2.56.0). 1528s 1528s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 1528s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 1528s Selecting previously unselected package libglib2.0-0t64:arm64. 1528s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74723 files and directories currently installed.) 1528s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 1528s 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... 1528s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 1528s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 1528s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 1528s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 1528s Selecting previously unselected package xdg-user-dirs. 1528s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 1528s Unpacking xdg-user-dirs (0.18-1) ... 1528s Preparing to unpack .../klibc-utils_2.0.13-4_arm64.deb ... 1528s Unpacking klibc-utils (2.0.13-4) over (2.0.13-2ubuntu1) ... 1528s Preparing to unpack .../libklibc_2.0.13-4_arm64.deb ... 1528s Unpacking libklibc:arm64 (2.0.13-4) over (2.0.13-2ubuntu1) ... 1528s Setting up xdg-user-dirs (0.18-1) ... 1528s Setting up libklibc:arm64 (2.0.13-4) ... 1528s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 1528s No schema files found: doing nothing. 1528s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 1528s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 1528s Setting up klibc-utils (2.0.13-4) ... 1528s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1528s Processing triggers for man-db (2.12.0-3) ... 1529s Processing triggers for initramfs-tools (0.142ubuntu20) ... 1529s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 1529s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1546s System running in EFI mode, skipping. 1546s Reading package lists... 1546s Building dependency tree... 1546s Reading state information... 1547s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1548s sh: Attempting to set up Debian/Ubuntu apt sources automatically 1548s sh: Distribution appears to be Ubuntu 1549s Reading package lists... 1549s Building dependency tree... 1549s Reading state information... 1549s eatmydata is already the newest version (131-1). 1549s dbus is already the newest version (1.14.10-4ubuntu1). 1549s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1550s Reading package lists... 1550s Building dependency tree... 1550s Reading state information... 1550s rng-tools-debian is already the newest version (2.4). 1550s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1550s Reading package lists... 1551s Building dependency tree... 1551s Reading state information... 1552s haveged is already the newest version (1.9.14-1ubuntu1). 1552s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1552s Reading package lists... 1552s Building dependency tree... 1552s Reading state information... 1552s The following packages will be REMOVED: 1552s cloud-init* python3-configobj* python3-debconf* 1553s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 1553s After this operation, 3248 kB disk space will be freed. 1553s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74762 files and directories currently installed.) 1553s Removing cloud-init (24.1-0ubuntu1) ... 1553s Removing python3-configobj (5.0.8-3) ... 1554s Removing python3-debconf (1.5.86) ... 1554s Processing triggers for man-db (2.12.0-3) ... 1554s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74373 files and directories currently installed.) 1554s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 1554s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 1554s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 1555s Reading package lists... 1555s Building dependency tree... 1555s Reading state information... 1556s linux-generic is already the newest version (6.8.0-11.11+1). 1556s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1556s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 1556s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 1556s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 1556s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 1558s Reading package lists... 1558s Reading package lists... 1558s Building dependency tree... 1558s Reading state information... 1559s Calculating upgrade... 1560s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1560s Reading package lists... 1560s Building dependency tree... 1560s Reading state information... 1561s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1561s autopkgtest [23:53:28]: rebooting testbed after setup commands that affected boot 1786s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 1792s autopkgtest [23:57:19]: testbed dpkg architecture: arm64 1797s Reading package lists... 1798s Building dependency tree... 1798s Reading state information... 1798s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 1798s Starting 2 pkgProblemResolver with broken count: 0 1798s Done 1798s Done 1799s Starting pkgProblemResolver with broken count: 0 1799s Starting 2 pkgProblemResolver with broken count: 0 1799s Done 1799s The following additional packages will be installed: 1799s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1799s libdconf1 session-migration 1799s Suggested packages: 1799s fakeroot 1799s The following NEW packages will be installed: 1799s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1799s libdconf1 session-migration 1800s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 1800s 1 not fully installed or removed. 1800s Need to get 144 kB of archives. 1800s After this operation, 671 kB of additional disk space will be used. 1800s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libdconf1 arm64 0.40.0-4 [39.2 kB] 1800s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-service arm64 0.40.0-4 [26.1 kB] 1800s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-gsettings-backend arm64 0.40.0-4 [21.6 kB] 1800s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 dpkg-repack all 1.52 [12.1 kB] 1800s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 session-migration arm64 0.3.6 [9512 B] 1800s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 gsettings-desktop-schemas all 46~beta-3ubuntu1 [35.3 kB] 1802s Fetched 144 kB in 1s (173 kB/s) 1802s Selecting previously unselected package libdconf1:arm64. 1802s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74318 files and directories currently installed.) 1802s Preparing to unpack .../0-libdconf1_0.40.0-4_arm64.deb ... 1802s Unpacking libdconf1:arm64 (0.40.0-4) ... 1802s Selecting previously unselected package dconf-service. 1802s Preparing to unpack .../1-dconf-service_0.40.0-4_arm64.deb ... 1802s Unpacking dconf-service (0.40.0-4) ... 1802s Selecting previously unselected package dconf-gsettings-backend:arm64. 1802s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4_arm64.deb ... 1802s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4) ... 1802s Selecting previously unselected package dpkg-repack. 1802s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 1802s Unpacking dpkg-repack (1.52) ... 1802s Selecting previously unselected package session-migration. 1802s Preparing to unpack .../4-session-migration_0.3.6_arm64.deb ... 1802s Unpacking session-migration (0.3.6) ... 1802s Selecting previously unselected package gsettings-desktop-schemas. 1802s Preparing to unpack .../5-gsettings-desktop-schemas_46~beta-3ubuntu1_all.deb ... 1802s Unpacking gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1802s Setting up session-migration (0.3.6) ... 1803s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 1803s Setting up dpkg-repack (1.52) ... 1803s Setting up libdconf1:arm64 (0.40.0-4) ... 1803s Setting up dconf-service (0.40.0-4) ... 1803s Setting up dconf-gsettings-backend:arm64 (0.40.0-4) ... 1803s Setting up gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1803s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1803s Processing triggers for man-db (2.12.0-3) ... 1803s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 1803s Setting up autopkgtest-satdep (0) ... 1806s (Reading database ... 74401 files and directories currently installed.) 1806s Removing autopkgtest-satdep (0) ... 1811s autopkgtest [23:57:38]: test 1065022-futureproofing: [----------------------- 1811s + export DEBIAN_FRONTEND=noninteractive 1811s + n=0 1811s + failed=0 1811s + binary_package=libglib2.0-0t64 1811s + future_binary_package=libglib2.0-0xyz 1811s + pwd 1811s + srcdir=/tmp/autopkgtest.l82zvF/build.7A6/src 1811s + mktemp -d 1811s + tmpdir=/tmp/tmp.KY5Um9M7zS 1811s + cd /tmp/tmp.KY5Um9M7zS 1811s + [ -e /tmp/autopkgtest.l82zvF/build.7A6/src/debian/tests/manual/local-1065022.sources ] 1811s + dpkg-query -W dpkg-repack 1811s dpkg-repack 1.52 1811s + dpkg-repack --generate libglib2.0-0t64 1811s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1811s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.OrGSPy for libglib2.0-0t64 1811s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.OrGSPy ." 1811s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.OrGSPy/DEBIAN/control 1811s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.OrGSPy/DEBIAN/control 1811s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.OrGSPy/DEBIAN/control 1811s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.OrGSPy/DEBIAN/control 1811s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.OrGSPy libglib2.0-0xyz.deb 1811s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1813s + apt-get -y install ./libglib2.0-0xyz.deb 1813s Reading package lists... 1813s Building dependency tree... 1813s Reading state information... 1814s The following packages were automatically installed and are no longer required: 1814s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 1814s python3-certifi python3-chardet python3-cryptography python3-httplib2 1814s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1814s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 1814s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 1814s Use 'sudo apt autoremove' to remove them. 1814s Suggested packages: 1814s low-memory-monitor 1814s The following packages will be REMOVED: 1814s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 1814s libglib2.0-0t64 networkd-dispatcher python3-gi 1814s The following NEW packages will be installed: 1814s libglib2.0-0xyz 1814s 0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded. 1814s Need to get 0 B/1527 kB of archives. 1814s After this operation, 2922 kB disk space will be freed. 1814s Get:1 /tmp/tmp.KY5Um9M7zS/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.79.3-3ubuntu5 [1527 kB] 1814s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74401 files and directories currently installed.) 1814s Removing networkd-dispatcher (2.2.4-1) ... 1815s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 1815s Removing apport (2.28.0-0ubuntu1) ... 1816s Removing python3-gi (3.47.0-3) ... 1816s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 1816s Removing gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 1816s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 1816s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s session-migration depends on libglib2.0-0 (>= 2.51.1); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libdconf1:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s dconf-service depends on libglib2.0-0 (>= 2.55.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s dconf-gsettings-backend:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s bolt depends on libglib2.0-0 (>= 2.56.0); however: 1816s Package libglib2.0-0:arm64 is not installed. 1816s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 1816s 1816s Removing libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 1817s Selecting previously unselected package libglib2.0-0xyz:arm64. 1817s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74210 files and directories currently installed.) 1817s Preparing to unpack .../libglib2.0-0xyz.deb ... 1817s Unpacking libglib2.0-0xyz:arm64 (2.79.3-3ubuntu5) ... 1817s Setting up libglib2.0-0xyz:arm64 (2.79.3-3ubuntu5) ... 1817s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1817s Processing triggers for man-db (2.12.0-3) ... 1818s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1818s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1818s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1818s + n=1 1818s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1818s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1818s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1818s + n=2 1818s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1818s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1818s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s + n=3 1818s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s + n=4 1818s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s + n=5 1818s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s + n=6 1818s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s + apt-get -y purge libglib2.0-0t64 1818s ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1818s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1818s Reading package lists... 1818s Building dependency tree... 1818s Reading state information... 1819s The following packages were automatically installed and are no longer required: 1819s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 1819s python3-certifi python3-chardet python3-cryptography python3-httplib2 1819s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1819s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 1819s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 1819s Use 'sudo apt autoremove' to remove them. 1819s The following packages will be REMOVED: 1819s libglib2.0-0t64* 1819s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1819s After this operation, 0 B of additional disk space will be used. 1819s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74231 files and directories currently installed.) 1819s Purging configuration files for libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 1819s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1819s + n=7 1819s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1819s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1819s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1819s + n=8 1819s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1819s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1819s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s + n=9 1819s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s + n=10 1819s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1819s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1819s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1819s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s + n=11 1819s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s + n=12 1819s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s + apt-get -y purge libglib2.0-0xyz 1819s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1819s Reading package lists... 1819s Building dependency tree... 1820s Reading state information... 1820s The following packages were automatically installed and are no longer required: 1820s apport-symptoms fwupd-signed jq libarchive13 libatasmart4 libbytesize-common 1820s libbytesize1 libcurl3-gnutls libflashrom1 libftdi1-2 libglib2.0-data 1820s libgpgme11 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1 libonig5 1820s libprotobuf-c1 python3-apport python3-blinker python3-certifi 1820s python3-cffi-backend python3-chardet python3-cryptography python3-httplib2 1820s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1820s python3-markdown-it python3-mdurl python3-netifaces python3-oauthlib 1820s python3-openssl python3-problem-report python3-pygments python3-pyparsing 1820s python3-requests python3-rich python3-six python3-systemd python3-urllib3 1820s python3-wadllib xdg-user-dirs 1820s Use 'sudo apt autoremove' to remove them. 1820s The following packages will be REMOVED: 1820s bolt* dconf-gsettings-backend* dconf-service* fwupd* 1820s gsettings-desktop-schemas* libblockdev-crypto3* libblockdev-fs3* 1820s libblockdev-loop3* libblockdev-mdraid3* libblockdev-nvme3* 1820s libblockdev-part3* libblockdev-swap3* libblockdev-utils3* libblockdev3* 1820s libdconf1* libfwupd2* libgirepository-1.0-1* libglib2.0-0xyz* 1820s libgudev-1.0-0* libgusb2* libjcat1* libjson-glib-1.0-0* libmbim-glib4* 1820s libmbim-proxy* libmm-glib0* libnetplan0* libpolkit-agent-1-0* 1820s libpolkit-gobject-1-0* libqmi-glib5* libqmi-proxy* libqrtr-glib0* 1820s libudisks2-0* libvolume-key1* libxmlb2* netplan-generator* netplan.io* 1820s python3-dbus* python3-netplan* session-migration* shared-mime-info* 1820s ubuntu-minimal* udisks2* 1821s 0 upgraded, 0 newly installed, 42 to remove and 0 not upgraded. 1821s After this operation, 32.1 MB disk space will be freed. 1821s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74231 files and directories currently installed.) 1821s Removing bolt (0.9.6-2) ... 1821s Removing gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1821s Removing dconf-gsettings-backend:arm64 (0.40.0-4) ... 1821s Removing dconf-service (0.40.0-4) ... 1821s Removing fwupd (1.9.14-1) ... 1822s Removing udisks2 (2.10.1-1ubuntu2) ... 1823s Removing libblockdev-crypto3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-fs3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-loop3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-mdraid3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-nvme3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-part3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-swap3:arm64 (3.1.0-1) ... 1823s Removing libblockdev3:arm64 (3.1.0-1) ... 1823s Removing libblockdev-utils3:arm64 (3.1.0-1) ... 1823s Removing libdconf1:arm64 (0.40.0-4) ... 1824s Removing libfwupd2:arm64 (1.9.14-1) ... 1824s Removing libgirepository-1.0-1:arm64 (1.79.1-1) ... 1824s Removing shared-mime-info (2.4-1) ... 1824s Removing session-migration (0.3.6) ... 1824s Removing ubuntu-minimal (1.535) ... 1824s Removing netplan.io (0.107.1-3) ... 1824s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1824s Removing python3-dbus (1.3.2-5build1) ... 1824s Removing libvolume-key1:arm64 (0.3.12-5build2) ... 1824s Removing libgudev-1.0-0:arm64 (1:238-3) ... 1824s Removing libgusb2:arm64 (0.4.8-1) ... 1824s Removing libjcat1:arm64 (0.2.0-2) ... 1824s Removing libjson-glib-1.0-0:arm64 (1.8.0-2) ... 1824s Removing libqmi-proxy (1.34.0-2) ... 1824s Removing libqmi-glib5:arm64 (1.34.0-2) ... 1824s Removing libmbim-proxy (1.30.0-1) ... 1824s Removing libmbim-glib4:arm64 (1.30.0-1) ... 1824s Removing libmm-glib0:arm64 (1.22.0-3) ... 1824s Removing python3-netplan (0.107.1-3) ... 1824s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 1824s Removing netplan-generator (0.107.1-3) ... 1824s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1824s Removing libnetplan0:arm64 (0.107.1-3) ... 1825s Removing libpolkit-agent-1-0:arm64 (124-1) ... 1825s Removing libpolkit-gobject-1-0:arm64 (124-1) ... 1825s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu2) ... 1825s Removing libudisks2-0:arm64 (2.10.1-1ubuntu2) ... 1825s Removing libxmlb2:arm64 (0.3.15-1) ... 1825s Removing libglib2.0-0xyz:arm64 (2.79.3-3ubuntu5) ... 1825s Processing triggers for man-db (2.12.0-3) ... 1825s Processing triggers for dbus (1.14.10-4ubuntu1) ... 1826s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1826s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73703 files and directories currently installed.) 1826s Purging configuration files for udisks2 (2.10.1-1ubuntu2) ... 1826s Purging configuration files for session-migration (0.3.6) ... 1826s Purging configuration files for libglib2.0-0xyz:arm64 (2.79.3-3ubuntu5) ... 1826s Purging configuration files for libblockdev3:arm64 (3.1.0-1) ... 1826s Purging configuration files for shared-mime-info (2.4-1) ... 1827s Purging configuration files for fwupd (1.9.14-1) ... 1828s Purging configuration files for bolt (0.9.6-2) ... 1828s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1828s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1828s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1828s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1828s 1..16 1828s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1828s + n=13 1828s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1828s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1828s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1828s + n=14 1828s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1828s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1828s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1828s + n=15 1828s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1828s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1828s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1828s + n=16 1828s + test -e /usr/lib/*/gio/modules/giomodule.cache 1828s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1828s + echo 1..16 1828s + exit 0 1829s autopkgtest [23:57:56]: test 1065022-futureproofing: -----------------------] 1829s autopkgtest [23:57:56]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1829s 1065022-futureproofing PASS 1830s autopkgtest [23:57:57]: @@@@@@@@@@@@@@@@@@@@ summary 1830s build PASS (superficial) 1830s build-static PASS (superficial) 1830s installed-tests PASS 1830s closure-refcount PASS 1830s debugcontroller PASS 1830s gdbus-server-auth PASS 1830s gdbus-threading PASS 1830s gmenumodel PASS 1830s mainloop PASS 1830s memory-monitor-dbus PASS 1830s socket PASS 1830s testfilemonitor PASS 1830s thread-pool-slow PASS 1830s threadtests PASS 1830s timeout PASS 1830s timer PASS 1830s 1065022-futureproofing PASS 1833s Creating nova instance adt-noble-arm64-glib2.0-20240311-232727-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240311.img (UUID 900cfff9-7f1a-42c7-81a7-22635cd2a5f9)... 1833s Creating nova instance adt-noble-arm64-glib2.0-20240311-232727-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240311.img (UUID 900cfff9-7f1a-42c7-81a7-22635cd2a5f9)... 1833s Creating nova instance adt-noble-arm64-glib2.0-20240311-232727-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240311.img (UUID 900cfff9-7f1a-42c7-81a7-22635cd2a5f9)...